diff options
author | Vidhu Kant Sharma <vidhukant@vidhukant.xyz> | 2022-07-06 12:32:53 +0530 |
---|---|---|
committer | Vidhu Kant Sharma <vidhukant@vidhukant.xyz> | 2022-07-06 12:32:53 +0530 |
commit | cfe513e4ad4db4f0de8e616c02216c9ed5a69058 (patch) | |
tree | 18ab68f4e916214e617d1f51e940f40e6a92958f /auth | |
parent | a7f0e19017a7e57c946612ed11c6cb190ae177be (diff) |
Bug Fix: if keyring not found it still attempts to login
Diffstat (limited to 'auth')
-rw-r--r-- | auth/client.go | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/auth/client.go b/auth/client.go index f266a42..7cb781f 100644 --- a/auth/client.go +++ b/auth/client.go @@ -63,6 +63,8 @@ func askClientId() string { clientId = secretInput("Enter your Client ID: ", "Client ID Can't be blank") setClientId(clientId) } + fmt.Println("Error while reading Client ID from keychain:", err) + os.Exit(1) } return clientId |