From cfe513e4ad4db4f0de8e616c02216c9ed5a69058 Mon Sep 17 00:00:00 2001 From: Vidhu Kant Sharma Date: Wed, 6 Jul 2022 12:32:53 +0530 Subject: Bug Fix: if keyring not found it still attempts to login --- auth/client.go | 2 ++ 1 file changed, 2 insertions(+) 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 -- cgit v1.2.3