diff --git a/cmd/getgo/download.go b/cmd/getgo/download.go index ae46549b..a68f4744 100644 --- a/cmd/getgo/download.go +++ b/cmd/getgo/download.go @@ -44,7 +44,7 @@ func downloadGoVersion(version, ops, arch, dest string) error { return fmt.Errorf("Downloading Go from %s failed: %v", uri, err) } if resp.StatusCode > 299 { - return fmt.Errorf("Downloading Go from %s failed with HTTP status %s", resp.Status) + return fmt.Errorf("Downloading Go from %s failed with HTTP status %s", uri, resp.Status) } defer resp.Body.Close() @@ -69,7 +69,7 @@ func downloadGoVersion(version, ops, arch, dest string) error { } defer sresp.Body.Close() if sresp.StatusCode > 299 { - return fmt.Errorf("Downloading Go sha256 from %s.sha256 failed with HTTP status %s", sresp.Status) + return fmt.Errorf("Downloading Go sha256 from %s.sha256 failed with HTTP status %s", uri, sresp.Status) } shasum, err := ioutil.ReadAll(sresp.Body)