mirror of
https://github.com/opentofu/opentofu.git
synced 2025-02-25 18:45:20 -06:00
providercache: include host in provider installation error (#31524)
This commit is contained in:
parent
038f3c762f
commit
c1fc7fd744
@ -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()
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user