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 29, 2022
1 parent 038f3c7 commit 275f894
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", getproviders.HostFromRequest(req), err)
}
defer resp.Body.Close()

Expand Down

0 comments on commit 275f894

Please sign in to comment.