From 8794fbb66dc71b67e6babaf67623fddf3b354999 Mon Sep 17 00:00:00 2001 From: Raghavendra Nagaraj Date: Wed, 9 May 2018 12:00:36 +0530 Subject: [PATCH] #58 - Continuing if processing the next file instead of returning if we encounter an error while reading a startup file --- jupyter/gojupyterscaffold/gojupyterscaffold.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/jupyter/gojupyterscaffold/gojupyterscaffold.go b/jupyter/gojupyterscaffold/gojupyterscaffold.go index ad1aadd..207b059 100644 --- a/jupyter/gojupyterscaffold/gojupyterscaffold.go +++ b/jupyter/gojupyterscaffold/gojupyterscaffold.go @@ -177,7 +177,7 @@ func loadStartupScripts(execQueue *executeQueue, shell *shellSocket) { code, err := ioutil.ReadFile(path.Join(profileDirPath, file)) if err != nil { glog.Errorf("Error while loading startup file %s: %+v", file, err) - return + continue } req := &message{Content: &ExecuteRequest{Code: string(code)}}