From b226642853a98b3febe91c381ad4285008eaeae4 Mon Sep 17 00:00:00 2001 From: jon4hz Date: Fri, 3 Mar 2023 23:56:14 +0100 Subject: [PATCH] fix: add debug log --- cli/packages/util/check-for-update.go | 2 ++ 1 file changed, 2 insertions(+) diff --git a/cli/packages/util/check-for-update.go b/cli/packages/util/check-for-update.go index 87832a9ce..2f283070c 100644 --- a/cli/packages/util/check-for-update.go +++ b/cli/packages/util/check-for-update.go @@ -4,6 +4,7 @@ import ( "encoding/json" "errors" "fmt" + log "github.com/sirupsen/logrus" "io" "net/http" "os" @@ -19,6 +20,7 @@ func CheckForUpdate() { } latestVersion, err := getLatestTag("Infisical", "infisical") if err != nil { + log.Debug(err) // do nothing and continue return }