Print status code in federation_client.py

This commit is contained in:
Erik Johnston 2016-08-03 13:46:47 +01:00
parent 9a2f296fa2
commit 97f072db74
1 changed files with 1 additions and 0 deletions

View File

@ -128,6 +128,7 @@ def get_json(origin_name, origin_key, destination, path):
headers={"Authorization": authorization_headers[0]}, headers={"Authorization": authorization_headers[0]},
verify=False, verify=False,
) )
sys.stderr.write("Status Code: %d\n" % (result.status_code,))
return result.json() return result.json()