Skip to content

Commit

Permalink
handleErr
Browse files Browse the repository at this point in the history
  • Loading branch information
nickvanw committed Jan 30, 2025
1 parent d32a799 commit ccbe87b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion internal/cmd/auth/login.go
Original file line number Diff line number Diff line change
Expand Up @@ -144,7 +144,7 @@ func listCurrentOrgs(ctx context.Context, accessToken, authURL string) ([]*plane
planetscale.WithBaseURL(authURL),
)
if err != nil {
return nil, err
return nil, cmdutil.HandleError(err)
}

orgs, err := client.Organizations.List(ctx)
Expand Down

0 comments on commit ccbe87b

Please sign in to comment.