diff --git a/pkg/util/fetch.go b/pkg/util/fetch.go index e9c95bb196d2de3d34dbf5ba5dc52c8acc7b7950..f65f94aaed0315c9a53e5bc4b8743bad79cbfa59 100644 --- a/pkg/util/fetch.go +++ b/pkg/util/fetch.go @@ -39,7 +39,7 @@ func FileOrURLReadCloser(ctx context.Context, url string, content []byte) (io.Re return nil, err } if resp.StatusCode < 200 || resp.StatusCode > 299 { - return nil, fmt.Errorf("error received while fetching artifact: %v", resp.Status) + return nil, fmt.Errorf("error received while fetching artifact '%v': %v", url, resp.Status) } dataReader = resp.Body