[Erp5-report] r19016 - /erp5/trunk/products/CMFActivity/Activity/SQLQueue.py
nobody at svn.erp5.org
nobody at svn.erp5.org
Mon Feb 4 11:24:04 CET 2008
Author: vincent
Date: Mon Feb 4 11:24:04 2008
New Revision: 19016
URL: http://svn.erp5.org?rev=19016&view=rev
Log:
Fix log message to display object_path and method_id.
Modified:
erp5/trunk/products/CMFActivity/Activity/SQLQueue.py
Modified: erp5/trunk/products/CMFActivity/Activity/SQLQueue.py
URL: http://svn.erp5.org/erp5/trunk/products/CMFActivity/Activity/SQLQueue.py?rev=19016&r1=19015&r2=19016&view=diff
==============================================================================
--- erp5/trunk/products/CMFActivity/Activity/SQLQueue.py (original)
+++ erp5/trunk/products/CMFActivity/Activity/SQLQueue.py Mon Feb 4 11:24:04 2008
@@ -288,7 +288,7 @@
# It is possible that the message is executed but the commit
# of the transaction fails
value[1].is_executed = 0
- LOG('SQLQueue', WARNING, 'Exception raised when invoking message (uid, path, method_id) %r' % (value, ), error=sys.exc_info())
+ LOG('SQLQueue', WARNING, 'Exception raised when invoking message (uid, path, method_id) %r' % (value[0], value[1].object_path, value[1].method_id), error=sys.exc_info())
try:
# Rollback all changes made on activity connection.
# We will commit to make messages available, and we cannot control
More information about the Erp5-report
mailing list