You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
For those requests which provide a response queue, any raised exception caught by SqliteMultiThread should be posted to the queue instead of logged verbosely.
e.g.
try:
cursor.execute(req, arg)
except Exception as err:
if res:
res.put(err)
continue
else:
# An exception occurred in our thread, but we may not
With code like this in select:
res = Queue() # results of the select will appear as items in this queue
self.execute(req, arg, res)
while True:
rec = res.get()
if isinstance(rec, Exception):
raise rec
if rec == '--no more--':
break
yield rec
The text was updated successfully, but these errors were encountered:
For those requests which provide a response queue, any raised exception caught by SqliteMultiThread should be posted to the queue instead of logged verbosely.
e.g.
With code like this in select:
The text was updated successfully, but these errors were encountered: