Quieter logging for stateres failure at missing prev events (#14346)

This commit is contained in:
David Robertson 2022-11-10 12:17:46 +00:00 committed by GitHub
parent e9a4343cb2
commit d10a85ec9e
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 3 additions and 3 deletions

1
changelog.d/14346.misc Normal file
View file

@ -0,0 +1 @@
Concisely log a failure to resolve state due to missing `prev_events`.

View file

@ -1065,10 +1065,9 @@ class FederationEventHandler:
state_res_store=StateResolutionStore(self._store), state_res_store=StateResolutionStore(self._store),
) )
except Exception: except Exception as e:
logger.warning( logger.warning(
"Error attempting to resolve state at missing prev_events", "Error attempting to resolve state at missing prev_events: %s", e
exc_info=True,
) )
raise FederationError( raise FederationError(
"ERROR", "ERROR",