Skip to content

Commit

Permalink
add info to auto upgrade version fetch error (#48852)
Browse files Browse the repository at this point in the history
  • Loading branch information
GavinFrazar authored Nov 13, 2024
1 parent c858a54 commit 7652523
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/automaticupgrades/version/basichttp.go
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ func (b *basicHTTPVersionClient) Get(ctx context.Context) (string, error) {
versionURL := b.baseURL.JoinPath(constants.VersionPath)
body, err := b.client.GetContent(ctx, *versionURL)
if err != nil {
return "", trace.Wrap(err)
return "", trace.Wrap(err, "failed to get version from %s", versionURL)
}
response := string(body)
if response == constants.NoVersion {
Expand Down

0 comments on commit 7652523

Please sign in to comment.