mirror of
https://github.com/simonw/datasette.git
synced 2026-06-06 09:07:00 +02:00
Tracer now catches errors, closes #2405
This commit is contained in:
parent
34a6b2ac84
commit
8a63cdccc7
3 changed files with 36 additions and 12 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue