diff options
author | Travis Ralston <travpc@gmail.com> | 2018-09-18 15:26:08 -0600 |
---|---|---|
committer | Travis Ralston <travpc@gmail.com> | 2018-09-18 15:29:30 -0600 |
commit | 35aec19f0ac88e7b16bc6bcc4f4e546b7fc89589 (patch) | |
tree | a3de8effe1740603e2bbb53140688ebdb782e152 /synapse/http/matrixfederationclient.py | |
parent | Use directory server for room joins (#3899) (diff) | |
download | synapse-35aec19f0ac88e7b16bc6bcc4f4e546b7fc89589.tar.xz |
Destination is a string
Diffstat (limited to 'synapse/http/matrixfederationclient.py')
-rw-r--r-- | synapse/http/matrixfederationclient.py | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/synapse/http/matrixfederationclient.py b/synapse/http/matrixfederationclient.py index 6a2d447289..530c0245a9 100644 --- a/synapse/http/matrixfederationclient.py +++ b/synapse/http/matrixfederationclient.py @@ -150,14 +150,14 @@ def _handle_json_response(reactor, timeout_sec, request, response): body = yield make_deferred_yieldable(d) except Exception as e: logger.warn( - "{%s} [%d] Error reading response: %s", + "{%s} [%s] Error reading response: %s", request.txn_id, request.destination, e, ) raise logger.info( - "{%s} [%d] Completed: %d %s", + "{%s} [%s] Completed: %d %s", request.txn_id, request.destination, response.code, @@ -707,14 +707,14 @@ class MatrixFederationHttpClient(object): length = yield make_deferred_yieldable(d) except Exception as e: logger.warn( - "{%s} [%d] Error reading response: %s", + "{%s} [%s] Error reading response: %s", request.txn_id, request.destination, e, ) raise logger.info( - "{%s} [%d] Completed: %d %s [%d bytes]", + "{%s} [%s] Completed: %d %s [%d bytes]", request.txn_id, request.destination, response.code, |