summary refs log tree commit diff
path: root/synapse/handlers/federation_event.py
diff options
context:
space:
mode:
authorDavid Robertson <davidr@element.io>2022-11-10 12:17:46 +0000
committerGitHub <noreply@github.com>2022-11-10 12:17:46 +0000
commitd10a85ec9eac6f31aa82a5f07d74e5914b18b320 (patch)
tree32e8c4ce593fb79ea285c4c011074eabd6e018d9 /synapse/handlers/federation_event.py
parentDrop support for Postgres 10 in full text search code. (#14397) (diff)
downloadsynapse-d10a85ec9eac6f31aa82a5f07d74e5914b18b320.tar.xz
Quieter logging for stateres failure at missing prev events (#14346)
Diffstat (limited to '')
-rw-r--r--synapse/handlers/federation_event.py5
1 files changed, 2 insertions, 3 deletions
diff --git a/synapse/handlers/federation_event.py b/synapse/handlers/federation_event.py
index 9ca5df7c78..f7223b03c3 100644
--- a/synapse/handlers/federation_event.py
+++ b/synapse/handlers/federation_event.py
@@ -1065,10 +1065,9 @@ class FederationEventHandler:
                 state_res_store=StateResolutionStore(self._store),
             )
 
-        except Exception:
+        except Exception as e:
             logger.warning(
-                "Error attempting to resolve state at missing prev_events",
-                exc_info=True,
+                "Error attempting to resolve state at missing prev_events: %s", e
             )
             raise FederationError(
                 "ERROR",