From 12591969516d5570b86c6888124ecdf943ed288a Mon Sep 17 00:00:00 2001 From: Sebastien Robin <seb@nexedi.com> Date: Mon, 26 Apr 2004 17:40:07 +0000 Subject: [PATCH] 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 --- product/CMFActivity/ActivityTool.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/product/CMFActivity/ActivityTool.py b/product/CMFActivity/ActivityTool.py index 3799a7f69c..d23d0aa4d0 100755 --- a/product/CMFActivity/ActivityTool.py +++ b/product/CMFActivity/ActivityTool.py @@ -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) -- 2.30.9