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.
This commit is contained in:
Erik Johnston 2020-07-17 12:10:43 +01:00 committed by GitHub
parent 6b3ac3b8cd
commit 4642fd66df
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 2 additions and 1 deletions

1
changelog.d/7881.misc Normal file
View file

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

View file

@ -639,7 +639,7 @@ class EventsWorkerStore(SQLBaseStore):
else: else:
room_version = KNOWN_ROOM_VERSIONS.get(room_version_id) room_version = KNOWN_ROOM_VERSIONS.get(room_version_id)
if not room_version: if not room_version:
logger.error( logger.warning(
"Event %s in room %s has unknown room version %s", "Event %s in room %s has unknown room version %s",
event_id, event_id,
d["room_id"], d["room_id"],