mirror of
https://github.com/element-hq/synapse.git
synced 2024-11-27 03:58:06 +03:00
Don't log stack traces for HTTP error responses
This commit is contained in:
parent
b970cb0e96
commit
1371d5b798
1 changed files with 6 additions and 1 deletions
|
@ -522,8 +522,13 @@ class TransactionQueue(object):
|
||||||
)
|
)
|
||||||
except FederationDeniedError as e:
|
except FederationDeniedError as e:
|
||||||
logger.info(e)
|
logger.info(e)
|
||||||
|
except HttpResponseException as e:
|
||||||
|
logger.warning(
|
||||||
|
"TX [%s] Received %d response to transaction: %s",
|
||||||
|
destination, e.code, e,
|
||||||
|
)
|
||||||
except RequestSendFailed as e:
|
except RequestSendFailed as e:
|
||||||
logger.warning("(TX [%s] Failed to send transaction: %s", destination, e)
|
logger.warning("TX [%s] Failed to send transaction: %s", destination, e)
|
||||||
|
|
||||||
for p, _ in pending_pdus:
|
for p, _ in pending_pdus:
|
||||||
logger.info("Failed to send event %s to %s", p.event_id,
|
logger.info("Failed to send event %s to %s", p.event_id,
|
||||||
|
|
Loading…
Reference in a new issue