mirror of
https://mau.dev/maunium/synapse.git
synced 2024-12-14 21:13:54 +01:00
Mention the session ID in the error message
This commit is contained in:
parent
45df9d35a9
commit
297aaf4816
1 changed files with 3 additions and 2 deletions
|
@ -209,8 +209,9 @@ class E2eRoomKeysHandler(object):
|
|||
for session_id, room_key in iteritems(room["sessions"]):
|
||||
if not isinstance(room_key["is_verified"], bool):
|
||||
msg = (
|
||||
"is_verified must be a boolean in keys for room %s"
|
||||
% room_id
|
||||
"is_verified must be a boolean in keys for session %s in"
|
||||
"room %s"
|
||||
% (session_id, room_id)
|
||||
)
|
||||
raise SynapseError(400, msg, Codes.INVALID_PARAM)
|
||||
|
||||
|
|
Loading…
Reference in a new issue