Skip to content

Commit

Permalink
Included more info in the thrown exception in load_stac Open-EO#527
Browse files Browse the repository at this point in the history
  • Loading branch information
VincentVerelst committed Mar 14, 2024
1 parent 3f50dbc commit 7062ba1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion openeo/rest/connection.py
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down

0 comments on commit 7062ba1

Please sign in to comment.