summary refs log tree commit diff
path: root/synapse
diff options
context:
space:
mode:
authorPaul "LeoNerd" Evans <paul@matrix.org>2014-09-03 13:40:28 +0100
committerPaul "LeoNerd" Evans <paul@matrix.org>2014-09-03 13:46:52 +0100
commit061e81419551d9640ebf5ace88f2c254c6077e1d (patch)
tree1ae7638153d9f0d78c1fb96745fa1f69cc68b9da /synapse
parentapidocs: Added m.room.name (diff)
downloadsynapse-061e81419551d9640ebf5ace88f2c254c6077e1d.tar.xz
Make sure to print exceptions properly from notifier failures
Diffstat (limited to 'synapse')
-rw-r--r--synapse/notifier.py7
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]