Fix duplicate logging of exceptions in transaction processing (#9780)
There's no point logging this twice.
This commit is contained in:
parent
abc814dcbf
commit
f946450184
|
@ -0,0 +1 @@
|
||||||
|
Fix duplicate logging of exceptions thrown during federation transaction processing.
|
|
@ -425,13 +425,9 @@ class FederationSendServlet(BaseFederationServlet):
|
||||||
logger.exception(e)
|
logger.exception(e)
|
||||||
return 400, {"error": "Invalid transaction"}
|
return 400, {"error": "Invalid transaction"}
|
||||||
|
|
||||||
try:
|
|
||||||
code, response = await self.handler.on_incoming_transaction(
|
code, response = await self.handler.on_incoming_transaction(
|
||||||
origin, transaction_data
|
origin, transaction_data
|
||||||
)
|
)
|
||||||
except Exception:
|
|
||||||
logger.exception("on_incoming_transaction failed")
|
|
||||||
raise
|
|
||||||
|
|
||||||
return code, response
|
return code, response
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue