Skip to content

Commit

Permalink
add faq link when key ring error
Browse files Browse the repository at this point in the history
  • Loading branch information
maidul98 committed Dec 25, 2022
1 parent 78d4fb2 commit ee0a95c
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion cli/packages/cmd/login.go
Original file line number Diff line number Diff line change
Expand Up @@ -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
}
Expand Down

0 comments on commit ee0a95c

Please sign in to comment.