Commit c02fb39f authored by Kazuhiko Shiozaki's avatar Kazuhiko Shiozaki

include args and kw in notification mails of activity failures.

git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@21454 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent 23ad045b
...@@ -274,11 +274,13 @@ Subject: %s ...@@ -274,11 +274,13 @@ Subject: %s
Document: %s Document: %s
Method: %s Method: %s
Arguments:%r
Named Parameters:%r
Exception: %s %s Exception: %s %s
%s %s
""" % (activity_tool.email_from_address, user_email, message, """ % (activity_tool.email_from_address, user_email, message,
message, '/'.join(self.object_path), self.method_id, message, '/'.join(self.object_path), self.method_id, self.args, self.kw,
self.exc_type, self.exc_value, self.traceback) self.exc_type, self.exc_value, self.traceback)
try: try:
activity_tool.MailHost.send( mail_text ) activity_tool.MailHost.send( mail_text )
......
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