diff --git a/cmd/cloudflared/tunnel/subcommands.go b/cmd/cloudflared/tunnel/subcommands.go index 0c49e3e7..d2b10bb1 100644 --- a/cmd/cloudflared/tunnel/subcommands.go +++ b/cmd/cloudflared/tunnel/subcommands.go @@ -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") } } }