Print out stacktrace when we failed to persist event.

pull/4/merge
Erik Johnston 10 years ago
parent 75b6d982a0
commit 234128586b
  1. 2
      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)

Loading…
Cancel
Save