From 0b29cd326f94f90f9215ffd35f6222beac492300 Mon Sep 17 00:00:00 2001 From: Matt Butcher Date: Fri, 23 May 2014 13:16:27 -0600 Subject: [PATCH] Log errors inspecting images. --- pkg/build/build.go | 2 ++ 1 file changed, 2 insertions(+) diff --git a/pkg/build/build.go b/pkg/build/build.go index 3a4a6ff5..6349fccc 100644 --- a/pkg/build/build.go +++ b/pkg/build/build.go @@ -244,6 +244,8 @@ func (b *Builder) setup() error { if err := b.dockerClient.Images.Pull(b.Build.Image); err != nil { return err } + } else if err != nil { + log.Errf("failed to inspect image %s", b.Build.Image) } // create the Docker image