mirror of
https://github.com/opentffoundation/opentf.git
synced 2025-12-25 01:00:16 -05:00
providercache: include host in provider installation error (#31524)
This commit is contained in:
@@ -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()
|
||||
|
||||
|
||||
Reference in New Issue
Block a user