Commit eac8c98c authored by Vincent Pelletier's avatar Vincent Pelletier

Also inform of user under which the activity execution is attemped.

Use "%r" to make it easy to spot "foo "-alike logins (used to be an ERP5Security bug causing activities to fail because of non-existing user).


git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@24263 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent e837711b
......@@ -292,6 +292,7 @@ Subject: %s
%s
Server: %s
User name: %r
Document: %s
Method: %s
Arguments: %r
......@@ -302,7 +303,7 @@ Exception: %s %s
%s
""" % (activity_tool.email_from_address, user_email, message, message,
self.request_info.get('SERVER_URL', ''),
self.request_info.get('SERVER_URL', ''), self.user_name,
'/'.join(self.object_path), self.method_id, self.args, self.kw,
call_traceback, self.exc_type, self.exc_value, self.traceback)
try:
......
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