Skip to content

Commit

Permalink
providercache: include host in provider installation error
Browse files Browse the repository at this point in the history
  • Loading branch information
radeksimko committed Jul 27, 2022
1 parent 5da30c2 commit db88a3a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion internal/providercache/package_install.go
Expand Up @@ -45,7 +45,7 @@ func installFromHTTPURL(ctx context.Context, meta getproviders.PackageMeta, targ
// so we'll return a more appropriate one here.
return nil, fmt.Errorf("provider download was interrupted")
}
return nil, err
return nil, fmt.Errorf("%s: %w", req.Host, err)
}
defer resp.Body.Close()

Expand Down

0 comments on commit db88a3a

Please sign in to comment.