Tracer now catches errors, closes #2405

This commit is contained in:
Simon Willison 2024-08-21 12:19:18 -07:00
commit 8a63cdccc7
3 changed files with 36 additions and 12 deletions

View file

@ -644,6 +644,9 @@ class QueryInterrupted(Exception):
self.sql = sql
self.params = params
def __str__(self):
return "QueryInterrupted: {}".format(self.e)
class MultipleValues(Exception):
pass