summary refs log tree commit diff
path: root/synapse/storage
diff options
context:
space:
mode:
Diffstat (limited to 'synapse/storage')
-rw-r--r--synapse/storage/__init__.py5
1 files changed, 4 insertions, 1 deletions
diff --git a/synapse/storage/__init__.py b/synapse/storage/__init__.py
index 470b7b7663..7732906927 100644
--- a/synapse/storage/__init__.py
+++ b/synapse/storage/__init__.py
@@ -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"):