From ee0a95c1db43af21d30051b8f9365898a110b0f4 Mon Sep 17 00:00:00 2001 From: Maidul Islam Date: Sun, 25 Dec 2022 16:10:33 -0500 Subject: [PATCH] add faq link when key ring error --- cli/packages/cmd/login.go | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/cli/packages/cmd/login.go b/cli/packages/cmd/login.go index de9e60bf8..9c0c22930 100644 --- a/cli/packages/cmd/login.go +++ b/cli/packages/cmd/login.go @@ -91,7 +91,9 @@ var loginCmd = &cobra.Command{ err = util.StoreUserCredsInKeyRing(userCredentialsToBeStored) if err != nil { - log.Errorln("Unable to store your credentials in system key ring. Run with flag -d to see full logs") + currentVault, _ := util.GetCurrentVaultBackend() + log.Errorf("Unable to store your credentials in system vault [%s]. Rerun with flag -d to see full logs", currentVault) + log.Errorln("To trouble shoot further, read https://infisical.com/docs/cli/faq") log.Debugln(err) return }