mirror of
https://mau.dev/maunium/synapse.git
synced 2024-10-01 01:36:05 -04:00
Log roomid along with Unknown room (#4297)
This commit is contained in:
parent
cd018e3543
commit
0708f437cc
1
changelog.d/4297.misc
Normal file
1
changelog.d/4297.misc
Normal file
@ -0,0 +1 @@
|
||||
Log room_id in Unknown room errors
|
@ -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"))
|
||||
|
Loading…
Reference in New Issue
Block a user