mirror of
https://git.anonymousland.org/anonymousland/synapse.git
synced 2025-05-02 10:06:05 -04:00
add errbacks to enqueue_pdu deferreds; change logging for failed federation sends to warn rather than exception
This commit is contained in:
parent
2b1acb7671
commit
faf12b64f8
2 changed files with 12 additions and 8 deletions
|
@ -134,7 +134,7 @@ class MatrixFederationHttpClient(object):
|
|||
e)
|
||||
raise SynapseError(400, "Domain specified not found.")
|
||||
|
||||
logger.exception("Sending request failed to %s: %s %s : %s",
|
||||
logger.warn("Sending request failed to %s: %s %s : %s",
|
||||
destination, method, url_bytes, e)
|
||||
_print_ex(e)
|
||||
|
||||
|
@ -289,7 +289,7 @@ def _print_ex(e):
|
|||
for ex in e.reasons:
|
||||
_print_ex(ex)
|
||||
else:
|
||||
logger.exception(e)
|
||||
logger.warn(e)
|
||||
|
||||
|
||||
class _JsonProducer(object):
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue