Skip to content
This repository has been archived by the owner on Apr 26, 2024. It is now read-only.

Fix grammatical error in error message #12483

Merged
merged 2 commits into from
Apr 18, 2022
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions changelog.d/12483.misc
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
Fix grammatical error in federation error response when the room version of a room is unknown.
2 changes: 1 addition & 1 deletion synapse/storage/databases/main/state.py
Original file line number Diff line number Diff line change
Expand Up @@ -130,7 +130,7 @@ def get_room_version_id_txn(self, txn: LoggingTransaction, room_id: str) -> str:
)

if room_version is None:
raise NotFoundError("Could not room_version for %s" % (room_id,))
raise NotFoundError("Could not find room_version for %s" % (room_id,))

return room_version

Expand Down