Skip to content

Commit 47fb9e0

Browse files
add error to auth failed log message
1 parent f72c165 commit 47fb9e0

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

cmd/root.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -65,7 +65,7 @@ func checkToken() {
6565
if !viper.InConfig("token") || viper.GetString("token") == "" {
6666
token, err := internal.GetToken()
6767
if err != nil {
68-
log.Fatalln("auth failed")
68+
log.Fatalln("auth failed", err)
6969
}
7070
viper.Set("Token", token)
7171
viper.WriteConfigAs(config_file)

0 commit comments

Comments
 (0)