fix: update better error handling (#5188)

This commit is contained in:
Burkov Egor
2025-04-10 08:50:18 -07:00
committed by GitHub
parent e929f89cee
commit 0b4d69bc57
+1 -1
View File
@@ -437,7 +437,7 @@ func doUpdate(customReleaseURL, sha256Hex string, latestReleaseTime time.Time, r
}
u, e := url.Parse(getDownloadURL(customReleaseURL, releaseTag))
if err != nil {
if e != nil {
return updateStatusMsg, probe.NewError(e)
}