mirror of
https://github.com/simonw/datasette.git
synced 2025-12-10 16:51:24 +01:00
Show SQL query when reporting time limit error, closes #1819
This commit is contained in:
parent
212137a90b
commit
5f9f567acb
4 changed files with 35 additions and 13 deletions
|
|
@ -476,7 +476,10 @@ class WriteTask:
|
|||
|
||||
|
||||
class QueryInterrupted(Exception):
|
||||
pass
|
||||
def __init__(self, e, sql, params):
|
||||
self.e = e
|
||||
self.sql = sql
|
||||
self.params = params
|
||||
|
||||
|
||||
class MultipleValues(Exception):
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue