forked from MirrorHub/synapse
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:
parent
6b3ac3b8cd
commit
4642fd66df
2 changed files with 2 additions and 1 deletions
1
changelog.d/7881.misc
Normal file
1
changelog.d/7881.misc
Normal file
|
@ -0,0 +1 @@
|
||||||
|
Change "unknown room version" logging from 'error' to 'warning'.
|
|
@ -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"],
|
||||||
|
|
Loading…
Reference in a new issue