Skip to content

Commit

Permalink
Add error message
Browse files Browse the repository at this point in the history
  • Loading branch information
royroyee committed Feb 6, 2024
1 parent 4d382b0 commit 1e33413
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cmd/token/token_create.go
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ var tokenCreateCmd = &cobra.Command{

token, err := auth.CreateAPIToken(alpaconClient, tokenRequest)
if err != nil {
utils.CliError("", err)
utils.CliError("Failed to create API token %s.", err)
}

utils.CliInfo("API Token Created: `%s`", token)
Expand Down

0 comments on commit 1e33413

Please sign in to comment.