diff --git a/core/src/main/java/com/rettichlp/unicacityaddon/base/services/UtilService.java b/core/src/main/java/com/rettichlp/unicacityaddon/base/services/UtilService.java index 75752012..e3f117dc 100644 --- a/core/src/main/java/com/rettichlp/unicacityaddon/base/services/UtilService.java +++ b/core/src/main/java/com/rettichlp/unicacityaddon/base/services/UtilService.java @@ -138,6 +138,6 @@ public void shutdownPC() { public String messageWithHiddenToken(String message) { return Optional.ofNullable(this.unicacityAddon.api().getToken()) .map(s -> message.replace(s, "TOKEN")) - .orElse("Aus Sicherheitsgründen kann diese Nachricht nicht angezeigt werden."); + .orElse("Message cannot be displayed because it contains a token."); } } diff --git a/core/src/main/java/com/rettichlp/unicacityaddon/base/services/WebService.java b/core/src/main/java/com/rettichlp/unicacityaddon/base/services/WebService.java index b15c1bb0..d77d86ed 100644 --- a/core/src/main/java/com/rettichlp/unicacityaddon/base/services/WebService.java +++ b/core/src/main/java/com/rettichlp/unicacityaddon/base/services/WebService.java @@ -40,7 +40,7 @@ public String sendApiRequest(boolean nonProd, ApplicationPath applicationPath, S try { int responseCode = httpURLConnection.getResponseCode(); - this.unicacityAddon.utilService().debug("[API] [" + responseCode + "] " + this.unicacityAddon.utilService().messageWithHiddenToken(urlString)); + // this.unicacityAddon.utilService().debug("[API] [" + responseCode + "] " + this.unicacityAddon.utilService().messageWithHiddenToken(urlString)); if (responseCode >= 200 && responseCode < 300) { // return body