Skip to content

Commit

Permalink
Keep invalid tunnel token error message the same
Browse files Browse the repository at this point in the history
  • Loading branch information
Cyb3r-Jak3 committed Jan 22, 2025
1 parent 560911b commit 59e3136
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cmd/cloudflared/tunnel/subcommands.go
Original file line number Diff line number Diff line change
Expand Up @@ -669,7 +669,7 @@ func runCommand(c *cli.Context) error {
}
tokenStr = strings.TrimSpace(string(data))
if _, err := ParseToken(tokenStr); err != nil {
return cliutil.UsageError("Failed to parse token file: " + err.Error())
return cliutil.UsageError("Provided Tunnel token is not valid")
}
}
}
Expand Down

0 comments on commit 59e3136

Please sign in to comment.