summary refs log tree commit diff
path: root/synapse/storage/data_stores
diff options
context:
space:
mode:
authorErik Johnston <erik@matrix.org>2020-07-17 12:10:43 +0100
committerGitHub <noreply@github.com>2020-07-17 12:10:43 +0100
commit4642fd66df510d6639ba66891ad2ae22564b3591 (patch)
tree16b26f41ad146aa1f5ca6a84e11447a6ae998a2d /synapse/storage/data_stores
parentConvert device handler to async/await (#7871) (diff)
downloadsynapse-4642fd66df510d6639ba66891ad2ae22564b3591.tar.xz
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.
Diffstat (limited to 'synapse/storage/data_stores')
-rw-r--r--synapse/storage/data_stores/main/events_worker.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/synapse/storage/data_stores/main/events_worker.py b/synapse/storage/data_stores/main/events_worker.py
index a7d685f630..e812c67078 100644
--- a/synapse/storage/data_stores/main/events_worker.py
+++ b/synapse/storage/data_stores/main/events_worker.py
@@ -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"],