3
0
Mirror von https://github.com/PaperMC/Paper.git synchronisiert 2024-12-24 07:10:10 +01:00

Don't spam console with errors on unexpected disconnect. Addresses BUKKIT-693

Dieser Commit ist enthalten in:
Charles Daffern 2012-05-13 00:44:32 +01:00 committet von feildmaster
Ursprung c07d4fffb0
Commit 2f16b8ffa3
2 geänderte Dateien mit 2 neuen und 2 gelöschten Zeilen

Datei anzeigen

@ -173,7 +173,7 @@ public class NetworkManager {
} }
private void a(Exception exception) { private void a(Exception exception) {
exception.printStackTrace(); // exception.printStackTrace(); // CraftBukkit - Remove console spam
this.a("disconnect.genericReason", new Object[] { "Internal exception: " + exception.toString()}); this.a("disconnect.genericReason", new Object[] { "Internal exception: " + exception.toString()});
} }

Datei anzeigen

@ -41,7 +41,7 @@ class NetworkWriterThread extends Thread {
NetworkManager.a(this.a, (Exception) ioexception); NetworkManager.a(this.a, (Exception) ioexception);
} }
ioexception.printStackTrace(); // ioexception.printStackTrace(); // CraftBukkit - Don't spam console on unexpected disconnect
} }
try { try {