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

Commit f8d3ee9

Browse files
authored
Fix grammatical error in error message (#12483)
* Fix grammatical error in error message * changelog
1 parent 3c758d9 commit f8d3ee9

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

changelog.d/12483.misc

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
Fix grammatical error in federation error response when the room version of a room is unknown.

synapse/storage/databases/main/state.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -130,7 +130,7 @@ def get_room_version_id_txn(self, txn: LoggingTransaction, room_id: str) -> str:
130130
)
131131

132132
if room_version is None:
133-
raise NotFoundError("Could not room_version for %s" % (room_id,))
133+
raise NotFoundError("Could not find room_version for %s" % (room_id,))
134134

135135
return room_version
136136

0 commit comments

Comments
 (0)