Destination is a string
This commit is contained in:
parent
a219ce8726
commit
35aec19f0a
|
@ -150,14 +150,14 @@ def _handle_json_response(reactor, timeout_sec, request, response):
|
||||||
body = yield make_deferred_yieldable(d)
|
body = yield make_deferred_yieldable(d)
|
||||||
except Exception as e:
|
except Exception as e:
|
||||||
logger.warn(
|
logger.warn(
|
||||||
"{%s} [%d] Error reading response: %s",
|
"{%s} [%s] Error reading response: %s",
|
||||||
request.txn_id,
|
request.txn_id,
|
||||||
request.destination,
|
request.destination,
|
||||||
e,
|
e,
|
||||||
)
|
)
|
||||||
raise
|
raise
|
||||||
logger.info(
|
logger.info(
|
||||||
"{%s} [%d] Completed: %d %s",
|
"{%s} [%s] Completed: %d %s",
|
||||||
request.txn_id,
|
request.txn_id,
|
||||||
request.destination,
|
request.destination,
|
||||||
response.code,
|
response.code,
|
||||||
|
@ -707,14 +707,14 @@ class MatrixFederationHttpClient(object):
|
||||||
length = yield make_deferred_yieldable(d)
|
length = yield make_deferred_yieldable(d)
|
||||||
except Exception as e:
|
except Exception as e:
|
||||||
logger.warn(
|
logger.warn(
|
||||||
"{%s} [%d] Error reading response: %s",
|
"{%s} [%s] Error reading response: %s",
|
||||||
request.txn_id,
|
request.txn_id,
|
||||||
request.destination,
|
request.destination,
|
||||||
e,
|
e,
|
||||||
)
|
)
|
||||||
raise
|
raise
|
||||||
logger.info(
|
logger.info(
|
||||||
"{%s} [%d] Completed: %d %s [%d bytes]",
|
"{%s} [%s] Completed: %d %s [%d bytes]",
|
||||||
request.txn_id,
|
request.txn_id,
|
||||||
request.destination,
|
request.destination,
|
||||||
response.code,
|
response.code,
|
||||||
|
|
Loading…
Reference in New Issue