fix(authLogoutCmd): rm os.Exit
This commit is contained in:
parent
209054f5bb
commit
4989d1ad0b
1 changed files with 1 additions and 2 deletions
|
|
@ -302,8 +302,7 @@ func authLogoutCmd(provider string) error {
|
|||
}
|
||||
|
||||
if err := auth.DeleteAllCredentials(); err != nil {
|
||||
fmt.Printf("Failed to remove credentials: %v\n", err)
|
||||
os.Exit(1)
|
||||
return fmt.Errorf("failed to remove credentials: %w", err)
|
||||
}
|
||||
|
||||
appCfg, err := internal.LoadConfig()
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue