Skip to content
Snippets Groups Projects
Commit 061e8141 authored by Paul "LeoNerd" Evans's avatar Paul "LeoNerd" Evans
Browse files

Make sure to print exceptions properly from notifier failures

parent 56bc57cf
No related branches found
No related tags found
No related merge requests found
......@@ -167,7 +167,12 @@ class Notifier(object):
)
def eb(failure):
logger.exception("Failed to notify listener", failure)
logger.error("Failed to notify listener",
exc_info=(
failure.type,
failure.value,
failure.getTracebackObject())
)
yield defer.DeferredList(
[notify(l).addErrback(eb) for l in listeners]
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment