From f8d3ee95706100e982f30f4c04fc3df8de4d4212 Mon Sep 17 00:00:00 2001 From: Travis Ralston Date: Mon, 18 Apr 2022 12:41:55 -0600 Subject: Fix grammatical error in error message (#12483) * Fix grammatical error in error message * changelog --- changelog.d/12483.misc | 1 + synapse/storage/databases/main/state.py | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) create mode 100644 changelog.d/12483.misc diff --git a/changelog.d/12483.misc b/changelog.d/12483.misc new file mode 100644 index 0000000000..88c6e3e465 --- /dev/null +++ b/changelog.d/12483.misc @@ -0,0 +1 @@ +Fix grammatical error in federation error response when the room version of a room is unknown. diff --git a/synapse/storage/databases/main/state.py b/synapse/storage/databases/main/state.py index eba35f3700..7a1b013fa3 100644 --- a/synapse/storage/databases/main/state.py +++ b/synapse/storage/databases/main/state.py @@ -130,7 +130,7 @@ class StateGroupWorkerStore(EventsWorkerStore, SQLBaseStore): ) 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 -- cgit 1.4.1