mirror of
https://github.com/GeyserMC/Geyser.git
synced 2024-08-14 23:57:35 +00:00
Allow skin uploader to log messages instead of closing the connection
This commit is contained in:
parent
11b10e2857
commit
14894c8f27
1 changed files with 3 additions and 3 deletions
|
@ -132,13 +132,13 @@ public final class FloodgateSkinUploader {
|
||||||
String logMessage = node.get("message").asText();
|
String logMessage = node.get("message").asText();
|
||||||
switch (node.get("priority").asInt()) {
|
switch (node.get("priority").asInt()) {
|
||||||
case -1:
|
case -1:
|
||||||
logger.debug("Got debug message from skin uploader: " + logMessage);
|
logger.debug("Got a message from skin uploader: " + logMessage);
|
||||||
break;
|
break;
|
||||||
case 0:
|
case 0:
|
||||||
logger.info("Got info message from skin uploader: " +logMessage);
|
logger.info("Got a message from skin uploader: " +logMessage);
|
||||||
break;
|
break;
|
||||||
case 1:
|
case 1:
|
||||||
logger.error("Got error message from skin uploader: " + logMessage);
|
logger.error("Got a message from skin uploader: " + logMessage);
|
||||||
break;
|
break;
|
||||||
default:
|
default:
|
||||||
logger.info(logMessage);
|
logger.info(logMessage);
|
||||||
|
|
Loading…
Reference in a new issue