Keep invalid tunnel token error message the same
This commit is contained in:
parent
560911bcc8
commit
59e31361d8
|
@ -669,7 +669,7 @@ func runCommand(c *cli.Context) error {
|
||||||
}
|
}
|
||||||
tokenStr = strings.TrimSpace(string(data))
|
tokenStr = strings.TrimSpace(string(data))
|
||||||
if _, err := ParseToken(tokenStr); err != nil {
|
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")
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue