diff options
author | Paul "LeoNerd" Evans <paul@matrix.org> | 2014-09-03 13:40:28 +0100 |
---|---|---|
committer | Paul "LeoNerd" Evans <paul@matrix.org> | 2014-09-03 13:46:52 +0100 |
commit | 061e81419551d9640ebf5ace88f2c254c6077e1d (patch) | |
tree | 1ae7638153d9f0d78c1fb96745fa1f69cc68b9da | |
parent | apidocs: Added m.room.name (diff) | |
download | synapse-061e81419551d9640ebf5ace88f2c254c6077e1d.tar.xz |
Make sure to print exceptions properly from notifier failures
Diffstat (limited to '')
-rw-r--r-- | synapse/notifier.py | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/synapse/notifier.py b/synapse/notifier.py index 3260aa744f..157925d102 100644 --- a/synapse/notifier.py +++ b/synapse/notifier.py @@ -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] |