diff --git a/changelog.d/13552.misc b/changelog.d/13552.misc new file mode 100644 index 000000000000..259ea5e8b497 --- /dev/null +++ b/changelog.d/13552.misc @@ -0,0 +1 @@ +Downgrade an error that had the capacity to spam Sentry instances to a warning. \ No newline at end of file diff --git a/synapse/logging/scopecontextmanager.py b/synapse/logging/scopecontextmanager.py index 10877bdfc522..880404810e4d 100644 --- a/synapse/logging/scopecontextmanager.py +++ b/synapse/logging/scopecontextmanager.py @@ -156,7 +156,7 @@ def __str__(self) -> str: def close(self) -> None: active_scope = self.manager.active if active_scope is not self: - logger.error( + logger.warning( "Closing scope %s which is not the currently-active one %s", self, active_scope,