Commit 5052c597 authored by Sebastien Ponce's avatar Sebastien Ponce
Browse files

Better error logging in case of exception in the reportmanager

parent 7e703410
......@@ -126,7 +126,7 @@ class ReportManagerThread(threading.Thread):
stcur.callproc('storeReports', [strParams, strNums])
except Exception, e:
# "Caught exception in ReportManager thread" message
dlf.writeerr(msgs.REPORTMANAGEREXCEPTION, error=str(e))
dlf.writeerr(msgs.REPORTMANAGEREXCEPTION, error=str(e), strParams=str(strParams), strNums=str(strNums))
# check whether we should reconnect to DB, and do so if needed
# Wait until the next DB update
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment