summary refs log tree commit diff
path: root/synapse/storage/state.py
diff options
context:
space:
mode:
authorWill Hunt <will@half-shot.uk>2018-12-24 09:49:42 +0000
committerRichard van der Hoff <1389908+richvdh@users.noreply.github.com>2018-12-24 10:49:42 +0100
commit0708f437ccfb57fe44e2d993f57163a844fe726c (patch)
treefe5b9acf973939800b66bcfd2db3881f9a51d58b /synapse/storage/state.py
parentMerge pull request #4307 from matrix-org/erikj/v2_rooms (diff)
downloadsynapse-0708f437ccfb57fe44e2d993f57163a844fe726c.tar.xz
Log roomid along with Unknown room (#4297)
Diffstat (limited to '')
-rw-r--r--synapse/storage/state.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/synapse/storage/state.py b/synapse/storage/state.py
index d737bd6778..a134e9b3e8 100644
--- a/synapse/storage/state.py
+++ b/synapse/storage/state.py
@@ -432,7 +432,7 @@ class StateGroupWorkerStore(EventsWorkerStore, SQLBaseStore):
         create_id = state_ids.get((EventTypes.Create, ""))
 
         if not create_id:
-            raise NotFoundError("Unknown room")
+            raise NotFoundError("Unknown room %s" % (room_id))
 
         create_event = yield self.get_event(create_id)
         defer.returnValue(create_event.content.get("room_version", "1"))