kopia lustrzana https://github.com/simonw/datasette
Print exceptions if they occur in the write thread
rodzic
dc80e779a2
commit
b796519da2
|
|
@ -97,6 +97,7 @@ class Database:
|
|||
try:
|
||||
result = task.fn(conn)
|
||||
except Exception as e:
|
||||
print(e)
|
||||
result = e
|
||||
task.reply_queue.sync_q.put(result)
|
||||
|
||||
|
|
|
|||
Ładowanie…
Reference in New Issue