Commit 8c30220a authored by Sebastien Robin's avatar Sebastien Robin

added traceback for an error


git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@1208 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent c1854509
......@@ -282,7 +282,7 @@ class ActivityTool (Folder, UniqueObject):
activity.tic(self, processing_node) # Transaction processing is the responsability of the activity
has_awake_activity = has_awake_activity or activity.isAwake(self, processing_node)
except:
LOG('CMFActivity:', 100, 'Core call to tic or isAwake failed for activity %s' % activity)
LOG('CMFActivity:', 100, 'Core call to tic or isAwake failed for activity %s' % activity, error=sys.exc_info())
# decrease the number of active_threads
tic_lock.acquire()
......
Markdown is supported
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