From 206a6d9ec2ab9d2fe17c5f415f64e46a43675a76 Mon Sep 17 00:00:00 2001
From: Carsten Hinz <c.hinz@fz-juelich.de>
Date: Mon, 13 May 2024 10:00:12 +0200
Subject: [PATCH] more output for error handling

---
 toargridding/toar_rest_client.py | 1 +
 1 file changed, 1 insertion(+)

diff --git a/toargridding/toar_rest_client.py b/toargridding/toar_rest_client.py
index 7bd52a2..c49e049 100644
--- a/toargridding/toar_rest_client.py
+++ b/toargridding/toar_rest_client.py
@@ -217,6 +217,7 @@ class Connection:
                 print(f"Status Code: {e.response.status_code}")
                 print(f"Reason: {e.response.reason}")
                 print(f"Text: {e.response.text}")
+                print(f"Status Endpoint: {status_endpoint}")
                 #use inverse order for saving. the status endpoint should be more unique
                 self.cache_backup.put(status_endpoint, query_options.cache_key)
                 #will be overwritten in the next step...
-- 
GitLab