Print out stacktrace when we failed to persist event.

This commit is contained in:
Erik Johnston 2014-08-19 14:30:28 +01:00
parent 75b6d982a0
commit 234128586b

View file

@ -85,6 +85,6 @@ class FederationHandler(BaseHandler):
try: try:
yield self.store.persist_event(event, backfilled=True) yield self.store.persist_event(event, backfilled=True)
except: except:
logger.debug("Failed to persiste event: %s", event) logger.exception("Failed to persist event: %s", event)
defer.returnValue(events) defer.returnValue(events)