summary refs log tree commit diff
path: root/scripts-dev/federation_client.py
diff options
context:
space:
mode:
authorErik Johnston <erik@matrix.org>2016-08-03 13:46:47 +0100
committerErik Johnston <erik@matrix.org>2016-08-03 13:46:56 +0100
commit97f072db74e6442c5eb38eb1d6ae84a59d504391 (patch)
tree5da2107233fc116c9dd31c0b21f6d78237218b79 /scripts-dev/federation_client.py
parentFactor out some of the code shared between the sytest scripts (#974) (diff)
downloadsynapse-97f072db74e6442c5eb38eb1d6ae84a59d504391.tar.xz
Print status code in federation_client.py
Diffstat (limited to '')
-rw-r--r--scripts-dev/federation_client.py1
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()