mirror of
https://github.com/PaperMC/Paper.git
synced 2024-11-27 13:06:02 +01:00
Don't spam console with errors on unexpected disconnect. Addresses BUKKIT-693
This commit is contained in:
parent
c07d4fffb0
commit
2f16b8ffa3
@ -173,7 +173,7 @@ public class NetworkManager {
|
||||
}
|
||||
|
||||
private void a(Exception exception) {
|
||||
exception.printStackTrace();
|
||||
// exception.printStackTrace(); // CraftBukkit - Remove console spam
|
||||
this.a("disconnect.genericReason", new Object[] { "Internal exception: " + exception.toString()});
|
||||
}
|
||||
|
||||
|
@ -41,7 +41,7 @@ class NetworkWriterThread extends Thread {
|
||||
NetworkManager.a(this.a, (Exception) ioexception);
|
||||
}
|
||||
|
||||
ioexception.printStackTrace();
|
||||
// ioexception.printStackTrace(); // CraftBukkit - Don't spam console on unexpected disconnect
|
||||
}
|
||||
|
||||
try {
|
||||
|
Loading…
Reference in New Issue
Block a user