Skip to content

Commit 7062ba1

Browse files
Included more info in the thrown exception in load_stac Open-EO#527
1 parent 3f50dbc commit 7062ba1

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

openeo/rest/connection.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1371,7 +1371,7 @@ def load_stac(
13711371
try:
13721372
cube.metadata = metadata_from_stac(url)
13731373
except Exception:
1374-
_log.warning("Python client could not read band metadata from URL.")
1374+
_log.warning(f"Failed to extract cube metadata from STAC URL {url}", exc_info=True)
13751375
return cube
13761376

13771377
def load_ml_model(self, id: Union[str, BatchJob]) -> MlModel:

0 commit comments

Comments
 (0)