Commit 12591969 authored by Sebastien Robin's avatar Sebastien Robin

diplay full error message when we can not run a message


git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@747 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent 98bd9dd7
......@@ -37,6 +37,7 @@ from DateTime.DateTime import DateTime
from Products.CMFActivity.ActiveObject import DISTRIBUTABLE_STATE, INVOKE_ERROR_STATE, VALIDATE_ERROR_STATE
from ActivityBuffer import ActivityBuffer
import threading
import sys
from zLOG import LOG
......@@ -120,7 +121,7 @@ class Message:
except:
self.is_executed = 0
LOG('WARNING ActivityTool', 0,
'Could not call method %s on object %s' % (self.method_id, self.object_path))
'Could not call method %s on object %s' % (self.method_id, self.object_path), error=sys.exc_info())
def validate(self, activity, activity_tool):
return activity.validate(activity_tool, self, **self.activity_kw)
......
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