Skip to content

Commit

Permalink
bug: silent pass when API is 404
Browse files Browse the repository at this point in the history
  • Loading branch information
shrimalmadhur committed Oct 9, 2024
1 parent 28a1ddc commit 6b7ac75
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion internal/versionupdate/check_version_update.go
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ func Check(currentVersion string) {
// If we can't get the latest version, just return
return
}

respBytes, err := io.ReadAll(response.Body)
if err != nil {
return
Expand Down

0 comments on commit 6b7ac75

Please sign in to comment.