Merge "Add user-supplied arguments in log_handler"

This commit is contained in:
Jenkins 2014-03-19 17:26:42 +00:00 committed by Gerrit Code Review
commit 5d7d1c1621

View File

@ -27,4 +27,4 @@ class PublishErrorsHandler(logging.Handler):
notifier.api.notify(None, 'error.publisher',
'error_notification',
notifier.api.ERROR,
dict(error=record.msg))
dict(error=record.getMessage()))