From 1e60d8a4c3369a2d06acd1e9d8509abc20f34720 Mon Sep 17 00:00:00 2001 From: Giuseppe Scrivano Date: Wed, 11 Jul 2018 12:43:26 +0200 Subject: [PATCH] store: include layerID in the error message Signed-off-by: Giuseppe Scrivano --- store.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/store.go b/store.go index c7e2d48ea9..964f1a6bd0 100644 --- a/store.go +++ b/store.go @@ -1036,7 +1036,7 @@ func (s *store) imageTopLayerForMapping(image *Image, ristore ROImageStore, read } rc, err := layerHomeStore.Diff("", layer.ID, &diffOptions) if err != nil { - return nil, errors.Wrapf(err, "error reading layer %q to create an ID-mapped version of it") + return nil, errors.Wrapf(err, "error reading layer %q to create an ID-mapped version of it", layer.ID) } defer rc.Close() layerOptions := LayerOptions{