Print out stacktrace when we failed to persist event.

paul/schema_breaking_changes
Erik Johnston 2014-08-19 14:30:28 +01:00
parent 75b6d982a0
commit 234128586b
1 changed files with 1 additions and 1 deletions

View File

@ -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)