3
0
Mirror von https://github.com/GeyserMC/Geyser.git synchronisiert 2024-11-07 16:50:12 +01:00

Allow skin uploader to log messages instead of closing the connection

Dieser Commit ist enthalten in:
Tim203 2021-04-17 17:40:53 +02:00
Ursprung 11b10e2857
Commit 14894c8f27
Es konnte kein GPG-Schlüssel zu dieser Signatur gefunden werden
GPG-Schlüssel-ID: 064EE9F5BF7C3EE8

Datei anzeigen

@ -132,13 +132,13 @@ public final class FloodgateSkinUploader {
String logMessage = node.get("message").asText();
switch (node.get("priority").asInt()) {
case -1:
logger.debug("Got debug message from skin uploader: " + logMessage);
logger.debug("Got a message from skin uploader: " + logMessage);
break;
case 0:
logger.info("Got info message from skin uploader: " +logMessage);
logger.info("Got a message from skin uploader: " +logMessage);
break;
case 1:
logger.error("Got error message from skin uploader: " + logMessage);
logger.error("Got a message from skin uploader: " + logMessage);
break;
default:
logger.info(logMessage);