From f5794937a91b574dc4fd3876adb22676c7c166de Mon Sep 17 00:00:00 2001 From: Travis Watkins Date: Fri, 3 Aug 2012 00:46:42 -0500 Subject: [PATCH] Print short message on exception to avoid spamming console. Fixes BUKKIT-2018 --- .../net/minecraft/server/DedicatedServerConnectionThread.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main/java/net/minecraft/server/DedicatedServerConnectionThread.java b/src/main/java/net/minecraft/server/DedicatedServerConnectionThread.java index 28f804bf1b..a73c93db69 100644 --- a/src/main/java/net/minecraft/server/DedicatedServerConnectionThread.java +++ b/src/main/java/net/minecraft/server/DedicatedServerConnectionThread.java @@ -87,7 +87,7 @@ public class DedicatedServerConnectionThread extends Thread { this.a(netloginhandler); } catch (IOException ioexception) { - ioexception.printStackTrace(); + a.warning("DSCT: " + ioexception.getMessage()); // CraftBukkit } }