From 379404d30655c546d606f490514094fa7ca81cca Mon Sep 17 00:00:00 2001 From: Matthew Heon Date: Tue, 24 Apr 2018 17:21:42 -0400 Subject: Do not eat error messages from pullImage Signed-off-by: Matthew Heon Closes: #668 Approved by: rhatdan --- libpod/image/image.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libpod/image/image.go b/libpod/image/image.go index 53d69ebe9..c9f03ebef 100644 --- a/libpod/image/image.go +++ b/libpod/image/image.go @@ -140,7 +140,7 @@ func (ir *Runtime) New(ctx context.Context, name, signaturePolicyPath, authfile } imageName, err := newImage.pullImage(ctx, writer, authfile, signaturePolicyPath, signingoptions, dockeroptions, forceSecure) if err != nil { - return nil, errors.Errorf("unable to pull %s", name) + return nil, errors.Wrapf(err, "unable to pull %s", name) } newImage.InputName = imageName -- cgit v1.2.3-54-g00ecf