diff options
author | Erik Johnston <erik@matrix.org> | 2014-08-20 15:53:07 +0100 |
---|---|---|
committer | Erik Johnston <erik@matrix.org> | 2014-08-20 15:53:07 +0100 |
commit | e8244c23baf150c59e737761c15ce540a3e9e26f (patch) | |
tree | ed6137cebe145556facf241b2cd9c3b6f3ef42d1 /synapse/storage/__init__.py | |
parent | Fix test. get_joined_hosts_for_room get's called multiple times (diff) | |
download | synapse-e8244c23baf150c59e737761c15ce540a3e9e26f.tar.xz |
Give the event_id of the failed event
Diffstat (limited to 'synapse/storage/__init__.py')
-rw-r--r-- | synapse/storage/__init__.py | 5 |
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"): |