forked from MirrorHub/synapse
Give the event_id of the failed event
This commit is contained in:
parent
d100ac8c82
commit
e8244c23ba
1 changed files with 4 additions and 1 deletions
|
@ -121,7 +121,10 @@ class DataStore(RoomMemberStore, RoomStore,
|
||||||
try:
|
try:
|
||||||
yield self._simple_insert("events", vals)
|
yield self._simple_insert("events", vals)
|
||||||
except:
|
except:
|
||||||
logger.exception("Failed to persist, probably duplicate")
|
logger.exception(
|
||||||
|
"Failed to persist, probably duplicate: %s",
|
||||||
|
event_id
|
||||||
|
)
|
||||||
return
|
return
|
||||||
|
|
||||||
if not backfilled and hasattr(event, "state_key"):
|
if not backfilled and hasattr(event, "state_key"):
|
||||||
|
|
Loading…
Reference in a new issue