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

Commit

Permalink
Fix grammatical error in error message (#12483)
Browse files Browse the repository at this point in the history
* Fix grammatical error in error message

* changelog
  • Loading branch information
turt2live authored Apr 18, 2022
1 parent 3c758d9 commit f8d3ee9
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
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

0 comments on commit f8d3ee9

Please sign in to comment.