From eeaa74d45865b3db00157afdef07c30ba97d383a Mon Sep 17 00:00:00 2001 From: dafeliton Date: Tue, 5 Mar 2024 14:53:35 -0800 Subject: [PATCH] Test error catching --- scripts/docker_adapter.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/scripts/docker_adapter.py b/scripts/docker_adapter.py index b438b28c..3044b930 100644 --- a/scripts/docker_adapter.py +++ b/scripts/docker_adapter.py @@ -81,6 +81,8 @@ def build(node: Node) -> Tuple[bool, str]: # Error detection. The docker client is not throwing errors if the build fails. # These errors are caught by our tests unless we scan these lines manually. + # DEBUG + print("TESTESTEST: " + line) if 'errorDetail' in line: logger.error(f"Docker returned build error during build of {node.image_name},\n {build_e}") return False, report