We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 4f55873 commit 6850649Copy full SHA for 6850649
internal/cmd/auth/get-access-token/get_access_token.go
@@ -45,7 +45,8 @@ func NewCmd(params *params.CmdParams) *cobra.Command {
45
46
accessToken, err := auth.GetValidAccessToken(params.Printer)
47
if err != nil {
48
- return err
+ params.Printer.Debug(print.ErrorLevel, "get valid access token: %v", err)
49
+ return &cliErr.SessionExpiredError{}
50
}
51
52
switch model.OutputFormat {
0 commit comments