diff options
author | Charles Daffern <seejay.11@gmail.com> | 2012-05-13 00:44:32 +0100 |
---|---|---|
committer | feildmaster <admin@feildmaster.com> | 2012-05-23 21:53:02 -0500 |
commit | 2f16b8ffa32a754b86f70694e3e823b097da87fa (patch) | |
tree | ce58d71e3cc392145114efb9bfe3d5b234db8aeb /src/main/java/net | |
parent | c07d4fffb00124588c8fadf477ff568dcd75d83d (diff) | |
download | craftbukkit-2f16b8ffa32a754b86f70694e3e823b097da87fa.tar craftbukkit-2f16b8ffa32a754b86f70694e3e823b097da87fa.tar.gz craftbukkit-2f16b8ffa32a754b86f70694e3e823b097da87fa.tar.lz craftbukkit-2f16b8ffa32a754b86f70694e3e823b097da87fa.tar.xz craftbukkit-2f16b8ffa32a754b86f70694e3e823b097da87fa.zip |
Don't spam console with errors on unexpected disconnect. Addresses BUKKIT-693
Diffstat (limited to 'src/main/java/net')
-rw-r--r-- | src/main/java/net/minecraft/server/NetworkManager.java | 2 | ||||
-rw-r--r-- | src/main/java/net/minecraft/server/NetworkWriterThread.java | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/src/main/java/net/minecraft/server/NetworkManager.java b/src/main/java/net/minecraft/server/NetworkManager.java index a3d4d396..fd821c44 100644 --- a/src/main/java/net/minecraft/server/NetworkManager.java +++ b/src/main/java/net/minecraft/server/NetworkManager.java @@ -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()}); } diff --git a/src/main/java/net/minecraft/server/NetworkWriterThread.java b/src/main/java/net/minecraft/server/NetworkWriterThread.java index 19db5663..0b742c4b 100644 --- a/src/main/java/net/minecraft/server/NetworkWriterThread.java +++ b/src/main/java/net/minecraft/server/NetworkWriterThread.java @@ -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 {
|