fix: add debug log

This commit is contained in:
jon4hz
2023-03-03 23:56:14 +01:00
parent 933f837f64
commit b226642853
+2
View File
@@ -4,6 +4,7 @@ import (
"encoding/json" "encoding/json"
"errors" "errors"
"fmt" "fmt"
log "github.com/sirupsen/logrus"
"io" "io"
"net/http" "net/http"
"os" "os"
@@ -19,6 +20,7 @@ func CheckForUpdate() {
} }
latestVersion, err := getLatestTag("Infisical", "infisical") latestVersion, err := getLatestTag("Infisical", "infisical")
if err != nil { if err != nil {
log.Debug(err)
// do nothing and continue // do nothing and continue
return return
} }