diff --git a/pkg/util/fetch.go b/pkg/util/fetch.go index e9c95bb19..f65f94aae 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