Commit 27d3e596 authored by Vincent Pelletier's avatar Vincent Pelletier

Store error in error_log, similarly to what happens in Message.__call__ .


git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@24090 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent 417b80c4
......@@ -1042,6 +1042,9 @@ class ActivityTool (Folder, UniqueObject):
LOG('WARNING ActivityTool', 0,
'Could not call method %s on objects %s' %
(method_id, expanded_object_list), error=exc_info)
error_log = getattr(self, 'error_log', None)
if error_log is not None:
error_log.raising(exc_info)
else:
# Obtain all indices of failed messages. Note that this can be a partial failure.
failed_message_dict = {}
......
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