From a6a79b059ec4fb8769174ec246457f9a023fd27f Mon Sep 17 00:00:00 2001 From: Adrien Perrin Date: Tue, 3 Dec 2024 10:43:25 +0000 Subject: [PATCH] add logging when no filename found (HTTP) --- geospaas_processing/downloaders.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/geospaas_processing/downloaders.py b/geospaas_processing/downloaders.py index ba33c7e7..143433e9 100644 --- a/geospaas_processing/downloaders.py +++ b/geospaas_processing/downloaders.py @@ -346,6 +346,8 @@ def get_file_name(cls, url, connection, **kwargs): and url_file_name.endswith('.nc')): return url_file_name + LOGGER.error("Could not find file name from HTTP response for %s: %s, %s, %s", + url, connection.status_code, connection.reason, connection.headers) return '' @classmethod