Skip to content

Commit 59e3136

Browse files
committed
Keep invalid tunnel token error message the same
1 parent 560911b commit 59e3136

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

cmd/cloudflared/tunnel/subcommands.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -669,7 +669,7 @@ func runCommand(c *cli.Context) error {
669669
}
670670
tokenStr = strings.TrimSpace(string(data))
671671
if _, err := ParseToken(tokenStr); err != nil {
672-
return cliutil.UsageError("Failed to parse token file: " + err.Error())
672+
return cliutil.UsageError("Provided Tunnel token is not valid")
673673
}
674674
}
675675
}

0 commit comments

Comments
 (0)