diff --git a/graph/graph.go b/graph/graph.go index 720f6e6963..b6ea22bdc8 100644 --- a/graph/graph.go +++ b/graph/graph.go @@ -88,7 +88,7 @@ func (graph *Graph) Exists(id string) bool { func (graph *Graph) Get(name string) (*image.Image, error) { id, err := graph.idIndex.Get(name) if err != nil { - return nil, err + return nil, fmt.Errorf("could not find image: %v", err) } img, err := image.LoadImage(graph.ImageRoot(id)) if err != nil {