diff --git a/snapshot/localmounter.go b/snapshot/localmounter.go index 732244168b80..18e2411cfc90 100644 --- a/snapshot/localmounter.go +++ b/snapshot/localmounter.go @@ -65,7 +65,7 @@ func (lm *localMounter) Mount() (string, error) { if err := mount.All(lm.mounts, dir); err != nil { os.RemoveAll(dir) - return "", err + return "", errors.Wrapf(err, "failed to mount %s: %+v", dir, lm.mounts) } lm.target = dir return dir, nil