Skip to content
This repository was archived by the owner on Apr 26, 2024. It is now read-only.

Commit d10a85e

Browse files
author
David Robertson
authored
Quieter logging for stateres failure at missing prev events (#14346)
1 parent e9a4343 commit d10a85e

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

changelog.d/14346.misc

+1
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
Concisely log a failure to resolve state due to missing `prev_events`.

synapse/handlers/federation_event.py

+2-3
Original file line numberDiff line numberDiff line change
@@ -1065,10 +1065,9 @@ async def _compute_event_context_with_maybe_missing_prevs(
10651065
state_res_store=StateResolutionStore(self._store),
10661066
)
10671067

1068-
except Exception:
1068+
except Exception as e:
10691069
logger.warning(
1070-
"Error attempting to resolve state at missing prev_events",
1071-
exc_info=True,
1070+
"Error attempting to resolve state at missing prev_events: %s", e
10721071
)
10731072
raise FederationError(
10741073
"ERROR",

0 commit comments

Comments
 (0)