From 957cf8a59a06751215847dfbfe7c7cf735da7c9c Mon Sep 17 00:00:00 2001 From: ivar Date: Mon, 4 Nov 2024 11:57:54 +0100 Subject: [PATCH] Logging --- tests/docker_flow.py | 1 + 1 file changed, 1 insertion(+) diff --git a/tests/docker_flow.py b/tests/docker_flow.py index 756f9d75..85e77396 100644 --- a/tests/docker_flow.py +++ b/tests/docker_flow.py @@ -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)