aboutsummaryrefslogtreecommitdiff
path: root/auth
diff options
context:
space:
mode:
authorVidhu Kant Sharma <vidhukant@vidhukant.xyz>2022-07-06 12:32:53 +0530
committerVidhu Kant Sharma <vidhukant@vidhukant.xyz>2022-07-06 12:32:53 +0530
commitcfe513e4ad4db4f0de8e616c02216c9ed5a69058 (patch)
tree18ab68f4e916214e617d1f51e940f40e6a92958f /auth
parenta7f0e19017a7e57c946612ed11c6cb190ae177be (diff)
Bug Fix: if keyring not found it still attempts to login
Diffstat (limited to 'auth')
-rw-r--r--auth/client.go2
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