From 234128586bd210a496bea7aef7045cd5905b8b5c Mon Sep 17 00:00:00 2001 From: Erik Johnston Date: Tue, 19 Aug 2014 14:30:28 +0100 Subject: Print out stacktrace when we failed to persist event. --- synapse/handlers/federation.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'synapse/handlers') 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) -- cgit 1.4.1