mirror of
https://github.com/element-hq/synapse.git
synced 2024-12-15 17:51:10 +00:00
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:
|
||||
yield self._simple_insert("events", vals)
|
||||
except:
|
||||
logger.exception("Failed to persist, probably duplicate")
|
||||
logger.exception(
|
||||
"Failed to persist, probably duplicate: %s",
|
||||
event_id
|
||||
)
|
||||
return
|
||||
|
||||
if not backfilled and hasattr(event, "state_key"):
|
||||
|
|
Loading…
Reference in a new issue