mirror of
https://git.anonymousland.org/anonymousland/synapse-product.git
synced 2024-10-01 08:25:44 -04:00
Give the event_id of the failed event
This commit is contained in:
parent
d100ac8c82
commit
e8244c23ba
@ -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 New Issue
Block a user