summary refs log tree commit diff
path: root/synapse/handlers
diff options
context:
space:
mode:
authorErik Johnston <erik@matrix.org>2014-08-19 14:30:28 +0100
committerErik Johnston <erik@matrix.org>2014-08-19 14:30:28 +0100
commit234128586bd210a496bea7aef7045cd5905b8b5c (patch)
treef1d56077f4996638eb76e539e6e39860fc9d1f0c /synapse/handlers
parentAdd a 'backfill room' button (diff)
downloadsynapse-234128586bd210a496bea7aef7045cd5905b8b5c.tar.xz
Print out stacktrace when we failed to persist event.
Diffstat (limited to '')
-rw-r--r--synapse/handlers/federation.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/synapse/handlers/federation.py b/synapse/handlers/federation.py
index ef9ed274df..0430a8307e 100644
--- a/synapse/handlers/federation.py
+++ b/synapse/handlers/federation.py
@@ -85,6 +85,6 @@ class FederationHandler(BaseHandler):
             try:
                 yield self.store.persist_event(event, backfilled=True)
             except:
-                logger.debug("Failed to persiste event: %s", event)
+                logger.exception("Failed to persist event: %s", event)
 
         defer.returnValue(events)