Commit 07e5d624 authored by Julien Muchembled's avatar Julien Muchembled

request/SERVER_URL isn't a reliable way to know on which machine the activity was executed.

Display current node instead.

git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@24912 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent fb1b4f3f
......@@ -312,7 +312,7 @@ Subject: %s
%s
Server: %s
Node: %s
User name: %r
Document: %s
Method: %s
......@@ -324,7 +324,7 @@ Exception: %s %s
%s
""" % (activity_tool.email_from_address, user_email, message, message,
self.request_info.get('SERVER_URL', ''), self.user_name,
activity_tool.getCurrentNode(), 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