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

Commit

Permalink
Change "unknown room ver" logging to warning. (#7881)
Browse files Browse the repository at this point in the history
It's somewhat expected for us to have unknown room versions in the
database due to room version experiments.
  • Loading branch information
erikjohnston authored Jul 17, 2020
1 parent 6b3ac3b commit 4642fd6
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions changelog.d/7881.misc
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
Change "unknown room version" logging from 'error' to 'warning'.
2 changes: 1 addition & 1 deletion synapse/storage/data_stores/main/events_worker.py
Original file line number Diff line number Diff line change
Expand Up @@ -639,7 +639,7 @@ def _get_events_from_db(self, event_ids, allow_rejected=False):
else:
room_version = KNOWN_ROOM_VERSIONS.get(room_version_id)
if not room_version:
logger.error(
logger.warning(
"Event %s in room %s has unknown room version %s",
event_id,
d["room_id"],
Expand Down

0 comments on commit 4642fd6

Please sign in to comment.