Skip to content

Commit

Permalink
Print error message when digest image fails
Browse files Browse the repository at this point in the history
  • Loading branch information
hakman committed Jul 22, 2023
1 parent d9efa71 commit 29f2109
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pkg/assets/builder.go
Original file line number Diff line number Diff line change
Expand Up @@ -229,7 +229,7 @@ func (a *AssetBuilder) RemapImage(image string) (string, error) {

digest, err := crane.Digest(image, crane.WithAuthFromKeychain(authn.DefaultKeychain))
if err != nil {
klog.Warningf("failed to digest image %q", image)
klog.Warningf("failed to digest image %q: %s", image, err)
return image, nil
}

Expand Down

0 comments on commit 29f2109

Please sign in to comment.