From 8e3c38eec5b2be8b1a43f0133c93dd53a79237d9 Mon Sep 17 00:00:00 2001 From: swapnil sinha Date: Fri, 9 Feb 2024 09:22:02 -0800 Subject: [PATCH] Error logging --- images/datascience-notebook/Dockerfile | 2 +- scripts/docker_adapter.py | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/images/datascience-notebook/Dockerfile b/images/datascience-notebook/Dockerfile index 3521827c..3ee1deb0 100644 --- a/images/datascience-notebook/Dockerfile +++ b/images/datascience-notebook/Dockerfile @@ -8,7 +8,7 @@ ENV DEBIAN_FRONTEND noninteractive ENV DEBCONF_NOWARNINGS="yes" RUN apt-get update -y && \ - apt-get -qq install -y --no-install-recommends \ + apt-gesst -qq install -y --no-install-recommends \ git \ curl \ rsync \ diff --git a/scripts/docker_adapter.py b/scripts/docker_adapter.py index fbd1572f..4674d5ae 100644 --- a/scripts/docker_adapter.py +++ b/scripts/docker_adapter.py @@ -73,6 +73,7 @@ def build(node: Node) -> Tuple[bool, str]: error_str = line.get('error', '').strip() if error_str: + logger.info("Here error occured") raise docker_client.errors.BuildError("error_str, error_str, error_str,error_str") if content_str: # time each major step (Step 1/23 : xxx)