Commit 7aed22e6 authored by Vincent Pelletier's avatar Vincent Pelletier

Display exception information in log message as it is lost otherwise.


git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@19082 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent a836746a
......@@ -248,7 +248,7 @@ Exception: %s %s
try:
activity_tool.MailHost.send( mail_text )
except (socket.error, MailHostError), message:
LOG('ActivityTool.notifyUser', WARNING, 'Mail containing failure information failed to be sent: %s' % (message, ))
LOG('ActivityTool.notifyUser', WARNING, 'Mail containing failure information failed to be sent: %s. Exception was: %s %s\n%s' % (message, self.exc_type, self.exc_value, self.traceback))
def reactivate(self, activity_tool):
# Reactivate the original object.
......
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