From ec9c035237a22a259f1f539f99514dd7b06500fd Mon Sep 17 00:00:00 2001 From: GLYASAI Date: Fri, 7 Dec 2018 11:52:48 +0800 Subject: [PATCH] [ADD] add some debug messages --- builder/sources/image.go | 2 ++ 1 file changed, 2 insertions(+) diff --git a/builder/sources/image.go b/builder/sources/image.go index 70b6fc047..8c5721c8e 100644 --- a/builder/sources/image.go +++ b/builder/sources/image.go @@ -102,9 +102,11 @@ func ImagePull(dockerCli *client.Client, image string, username, password string if err == io.EOF { break } + logrus.Debugf("error decoding jm(JSONMessage): %v", err) return nil, err } if jm.Error != nil { + logrus.Debugf("error pulling image: %v", jm.Error) return nil, jm.Error } if logger != nil {