Change "unknown room ver" logging to warning. (#7881)

It's somewhat expected for us to have unknown room versions in the
database due to room version experiments.
code_spécifique_watcha
Erik Johnston 4 years ago committed by GitHub
parent 6b3ac3b8cd
commit 4642fd66df
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 1
      changelog.d/7881.misc
  2. 2
      synapse/storage/data_stores/main/events_worker.py

@ -0,0 +1 @@
Change "unknown room version" logging from 'error' to 'warning'.

@ -639,7 +639,7 @@ class EventsWorkerStore(SQLBaseStore):
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"],

Loading…
Cancel
Save