From 7062ba11ce1f44ea1ca10d8198f8fc5c57f28de0 Mon Sep 17 00:00:00 2001 From: Vincent Verelst Date: Thu, 14 Mar 2024 16:56:55 +0100 Subject: [PATCH] Included more info in the thrown exception in load_stac #527 --- openeo/rest/connection.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/openeo/rest/connection.py b/openeo/rest/connection.py index 8aa95210c..7840e1f66 100644 --- a/openeo/rest/connection.py +++ b/openeo/rest/connection.py @@ -1371,7 +1371,7 @@ def load_stac( try: cube.metadata = metadata_from_stac(url) except Exception: - _log.warning("Python client could not read band metadata from URL.") + _log.warning(f"Failed to extract cube metadata from STAC URL {url}", exc_info=True) return cube def load_ml_model(self, id: Union[str, BatchJob]) -> MlModel: