Skip to content
Snippets Groups Projects
Commit 29a082fc authored by Sebastien Ponce's avatar Sebastien Ponce
Browse files

Better error logging in case of exception in the reportmanager

parent 620ad399
Branches
Tags
No related merge requests found
......@@ -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
self.dbConnection().checkForReconnection(e)
# Wait until the next DB update
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment