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:
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"],