Keep invalid tunnel token error message the same

This commit is contained in:
Cyb3r-Jak3 2025-01-21 23:40:01 -05:00
parent 560911bcc8
commit 59e31361d8
No known key found for this signature in database
1 changed files with 1 additions and 1 deletions

View File

@ -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")
}
}
}