Commit 0558a180 authored by Yusei Tahara's avatar Yusei Tahara

Add SERVER_URL to failure notification. This is useful if we have many erp5...

Add SERVER_URL to failure notification. This is useful if we have many erp5 instances in a same machine such as erp5 express servers.


git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@23167 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent ed95b345
......@@ -295,6 +295,7 @@ Subject: %s
%s
Server: %s
Document: %s
Method: %s
Arguments:%r
......@@ -305,8 +306,9 @@ Created at:
Exception: %s %s
%s
""" % (activity_tool.email_from_address, user_email, message,
message, '/'.join(self.object_path), self.method_id, self.args, self.kw,
""" % (activity_tool.email_from_address, user_email, message, message,
self.request_info.get('SERVER_URL', ''),
'/'.join(self.object_path), self.method_id, self.args, self.kw,
self.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