Skip to content

Commit

Permalink
Changed could not read from URL exception
Browse files Browse the repository at this point in the history
  • Loading branch information
VincentVerelst committed Mar 7, 2024
1 parent 3a3cfe5 commit 43cb52b
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions openeo/rest/connection.py
Original file line number Diff line number Diff line change
Expand Up @@ -1421,8 +1421,8 @@ def load_stac(
cube = self.datacube_from_process(process_id="load_stac", **arguments)
try:
cube.metadata = self.metadata_from_stac(url)
except:
print("Python client could not read band metadata.")
except Exception:
_log.warning("Python client could not read band metadata from URL.")
return cube

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

0 comments on commit 43cb52b

Please sign in to comment.