Skip to content
Snippets Groups Projects
Commit 206a6d9e authored by Carsten Hinz's avatar Carsten Hinz
Browse files

more output for error handling

parent 9c62890f
No related branches found
No related tags found
1 merge request!11Creation of first beta release version
...@@ -217,6 +217,7 @@ class Connection: ...@@ -217,6 +217,7 @@ class Connection:
print(f"Status Code: {e.response.status_code}") print(f"Status Code: {e.response.status_code}")
print(f"Reason: {e.response.reason}") print(f"Reason: {e.response.reason}")
print(f"Text: {e.response.text}") print(f"Text: {e.response.text}")
print(f"Status Endpoint: {status_endpoint}")
#use inverse order for saving. the status endpoint should be more unique #use inverse order for saving. the status endpoint should be more unique
self.cache_backup.put(status_endpoint, query_options.cache_key) self.cache_backup.put(status_endpoint, query_options.cache_key)
#will be overwritten in the next step... #will be overwritten in the next step...
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment