mirror of
https://github.com/element-hq/synapse.git
synced 2025-03-28 02:18:11 +00:00
Print status code in federation_client.py
This commit is contained in:
parent
9a2f296fa2
commit
97f072db74
1 changed files with 1 additions and 0 deletions
|
@ -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()
|
||||
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue