Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ static String format(String responseBody) {
if (message.startsWith(TOKEN_ENDPOINT_MISMATCH)) {
return "WatchService rejected the endpoint token for this endpoint name. "
+ "Regenerate the token for this exact endpoint and organization in the Minekube dashboard, "
+ "copy it into config.yml, then restart the server. "
+ "replace the token in token.json or CONNECT_TOKEN, then restart the server. "
+ "If you do not own this endpoint name, choose a different endpoint name.";
}
if (message.startsWith(ENDPOINT_ORG_OWNED)) {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ void explainsEndpointTokenMismatch() {
assertEquals(
"WatchService rejected the endpoint token for this endpoint name. "
+ "Regenerate the token for this exact endpoint and organization in the Minekube dashboard, "
+ "copy it into config.yml, then restart the server. "
+ "replace the token in token.json or CONNECT_TOKEN, then restart the server. "
+ "If you do not own this endpoint name, choose a different endpoint name.",
message);
}
Expand Down
Loading