mirror of
https://github.com/element-hq/synapse.git
synced 2024-12-18 17:10:43 +03:00
Print out stacktrace when we failed to persist event.
This commit is contained in:
parent
75b6d982a0
commit
234128586b
1 changed files with 1 additions and 1 deletions
|
@ -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)
|
||||||
|
|
Loading…
Reference in a new issue