|
@@ -32,6 +32,7 @@ import java.security.PrivateKey;
|
|
|
import java.security.spec.PKCS8EncodedKeySpec;
|
|
|
import java.util.Base64;
|
|
|
import javax.crypto.Cipher;
|
|
|
+import org.apache.logging.log4j.LogManager;
|
|
|
|
|
|
@OnlyIn(Dist.DEDICATED_SERVER)
|
|
|
public class Server {
|
|
@@ -89,7 +90,7 @@ public class Server {
|
|
|
});
|
|
|
} catch(Exception ex) {
|
|
|
if(!votifierSocket.isClosed()) {
|
|
|
- ex.printStackTrace();
|
|
|
+ LogManager.getLogger().warn(ex.getMessage());
|
|
|
}
|
|
|
}
|
|
|
}
|