From 02bca8d6a484ad8400f27b83ef84b0767e3349c2 Mon Sep 17 00:00:00 2001 From: Ross Cadogan Date: Thu, 13 Oct 2016 18:15:18 +0100 Subject: [PATCH] Improve error reporting --- container/client.go | 2 ++ 1 file changed, 2 insertions(+) diff --git a/container/client.go b/container/client.go index 8e1605f..a43a4b4 100644 --- a/container/client.go +++ b/container/client.go @@ -157,10 +157,12 @@ func (client dockerClient) IsContainerStale(c Container) (bool, error) { Email: email, } if err := client.api.PullImage(imageName, &auth); err != nil { + log.Debugf("Error pulling image %s with authentication, %s", imageName, err) return false, err } } else { if err := client.api.PullImage(imageName, nil); err != nil { + log.Debugf("Error pulling image %s, %s", imageName, err) return false, err } }