chore: disable update check error msg

This commit is contained in:
Toby 2022-02-25 17:30:42 -08:00
parent af530f8943
commit a5e27385c8

View File

@ -20,11 +20,7 @@ type releaseInfo struct {
func checkUpdate() {
info, err := fetchLatestRelease()
if err != nil {
logrus.WithFields(logrus.Fields{
"error": err,
}).Warn("Failed to check for updates")
} else if info.TagName != appVersion {
if err == nil && info.TagName != appVersion {
logrus.WithFields(logrus.Fields{
"version": info.TagName,
"url": info.URL,