diff --git a/scripts/docker_adapter.py b/scripts/docker_adapter.py index 3f620200..688f755e 100644 --- a/scripts/docker_adapter.py +++ b/scripts/docker_adapter.py @@ -73,7 +73,7 @@ def build(node: Node) -> Tuple[bool, str]: error_str = line.get('error', '').strip() if error_str: - raise docker_client.errors.BuildError("error_str, error_str, error_str,error_str") + raise docker_client.errors.BuildError(build_log=error_str, reason=error_str) if content_str: # time each major step (Step 1/23 : xxx) if content_str[:4] == "Step":