Skip to content
Snippets Groups Projects
Commit e8244c23 authored by Erik Johnston's avatar Erik Johnston
Browse files

Give the event_id of the failed event

parent d100ac8c
No related branches found
No related tags found
No related merge requests found
......@@ -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"):
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment