From 879426a708c9357df96cef4aebbee53a566171b3 Mon Sep 17 00:00:00 2001 From: Gavin Frazar Date: Thu, 14 Nov 2024 12:41:49 -0800 Subject: [PATCH] add info to auto upgrade version fetch error (#48853) --- lib/automaticupgrades/version/basichttp.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/automaticupgrades/version/basichttp.go b/lib/automaticupgrades/version/basichttp.go index 849ddc86108df..29bea8e325861 100644 --- a/lib/automaticupgrades/version/basichttp.go +++ b/lib/automaticupgrades/version/basichttp.go @@ -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 {