diff options
author | Erik Johnston <erik@matrix.org> | 2016-08-03 13:46:47 +0100 |
---|---|---|
committer | Erik Johnston <erik@matrix.org> | 2016-08-03 13:46:56 +0100 |
commit | 97f072db74e6442c5eb38eb1d6ae84a59d504391 (patch) | |
tree | 5da2107233fc116c9dd31c0b21f6d78237218b79 | |
parent | Factor out some of the code shared between the sytest scripts (#974) (diff) | |
download | synapse-97f072db74e6442c5eb38eb1d6ae84a59d504391.tar.xz |
Print status code in federation_client.py
Diffstat (limited to '')
-rw-r--r-- | scripts-dev/federation_client.py | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/scripts-dev/federation_client.py b/scripts-dev/federation_client.py index caa3cee4e7..59c3dce3d7 100644 --- a/scripts-dev/federation_client.py +++ b/scripts-dev/federation_client.py @@ -128,6 +128,7 @@ def get_json(origin_name, origin_key, destination, path): headers={"Authorization": authorization_headers[0]}, verify=False, ) + sys.stderr.write("Status Code: %d\n" % (result.status_code,)) return result.json() |