Skip to content

Commit

Permalink
Logging
Browse files Browse the repository at this point in the history
  • Loading branch information
ivargr committed Nov 4, 2024
1 parent 470c229 commit 957cf8a
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions tests/docker_flow.py
Original file line number Diff line number Diff line change
Expand Up @@ -57,6 +57,7 @@ def evaluate_model(chap_url, data, model, timeout=600):
exception_info = requests.get(chap_url + "/v1/get-exception").json()
if "Earth Engine client library not initialized" in exception_info:
logger.warning("Earth Engine client library not initialized. Ignoring this test")
logger.warning("Exception: %s" % exception_info)
return

raise ValueError("Model evaluation failed. Exception: %s" % exception_info)
Expand Down

0 comments on commit 957cf8a

Please sign in to comment.