mirror of
https://github.com/element-hq/synapse.git
synced 2026-08-28 00:44:35 +00:00
Print status code in federation_client.py
This commit is contained in:
@@ -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()
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user