diff options
Diffstat (limited to 'libpod/image/image.go')
-rw-r--r-- | libpod/image/image.go | 2 |
1 files changed, 1 insertions, 1 deletions
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 |