Commit f15fe86e authored by Julien Muchembled's avatar Julien Muchembled

CMFActivity: add the uid of failed messages in mail notifications

parent 1e550c0c
...@@ -353,13 +353,14 @@ Subject: %s: %s/%s ...@@ -353,13 +353,14 @@ Subject: %s: %s/%s
Node: %s Node: %s
Failures: %s Failures: %s
User name: %r User name: %r
Uid: %u
Document: %s Document: %s
Method: %s Method: %s
Arguments: %r Arguments: %r
Named Parameters: %r Named Parameters: %r
""" % (email_from_name, activity_tool.email_from_address, user_email, message, """ % (email_from_name, activity_tool.email_from_address, user_email, message,
path, self.method_id, activity_tool.getCurrentNode(), fail_count, path, self.method_id, activity_tool.getCurrentNode(), fail_count,
self.user_name, path, self.method_id, self.args, self.kw) self.user_name, self.line.uid, path, self.method_id, self.args, self.kw)
if self.traceback: if self.traceback:
mail_text += '\nException:\n' + self.traceback mail_text += '\nException:\n' + self.traceback
if self.call_traceback: if self.call_traceback:
......
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