Skip to content

Commit

Permalink
Change error message
Browse files Browse the repository at this point in the history
  • Loading branch information
ringosham committed Aug 23, 2020
1 parent 0802e79 commit bfc51da
Showing 1 changed file with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -100,7 +100,8 @@ private void logException(RequestResult transRequest) {
GooglePaidClient.setDisable();
break;
case 400:
Log.logger.error("Request rejected due to bad request. THIS IS A BUG. PLEASE REPORT TO THE MOD CREATOR");
Log.logger.error("API key invalid");
ChatUtil.printChatMessage(true, "API key invalid. If you do not wish to use a key, please remove it from the settings", TextFormatting.RED);
break;
case 500:
Log.logger.error("Failed to determine source language: " + transRequest.getMessage());
Expand Down

0 comments on commit bfc51da

Please sign in to comment.