Skip to content

Commit

Permalink
Include image name in error message
Browse files Browse the repository at this point in the history
Signed-off-by: Matthew Walowski <mattwalowski@gmail.com>
  • Loading branch information
mattwalo32 authored and ndeloof committed Sep 29, 2023
1 parent 12e0ac8 commit 6ecab95
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pkg/compose/images.go
Expand Up @@ -90,7 +90,7 @@ func (s *composeService) getImages(ctx context.Context, images []string) (map[st
if errdefs.IsNotFound(err) {
return nil
}
return err
return fmt.Errorf("unable to get image '%s': %w", img, err)
}
tag := ""
repository := ""
Expand Down

0 comments on commit 6ecab95

Please sign in to comment.