summaryrefslogtreecommitdiffstats
path: root/src/main/java/net
diff options
context:
space:
mode:
authorTravis Watkins <amaranth@ubuntu.com>2012-08-03 00:46:42 -0500
committerTravis Watkins <amaranth@ubuntu.com>2012-08-03 01:04:16 -0500
commitf5794937a91b574dc4fd3876adb22676c7c166de (patch)
tree75827b387a72bdf72a7ae7904d7c3b11923d291c /src/main/java/net
parentdcf83bc1b5e17d0a599b00aaba813d2ccff68dbb (diff)
downloadcraftbukkit-f5794937a91b574dc4fd3876adb22676c7c166de.tar
craftbukkit-f5794937a91b574dc4fd3876adb22676c7c166de.tar.gz
craftbukkit-f5794937a91b574dc4fd3876adb22676c7c166de.tar.lz
craftbukkit-f5794937a91b574dc4fd3876adb22676c7c166de.tar.xz
craftbukkit-f5794937a91b574dc4fd3876adb22676c7c166de.zip
Print short message on exception to avoid spamming console. Fixes BUKKIT-2018
Diffstat (limited to 'src/main/java/net')
-rw-r--r--src/main/java/net/minecraft/server/DedicatedServerConnectionThread.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/main/java/net/minecraft/server/DedicatedServerConnectionThread.java b/src/main/java/net/minecraft/server/DedicatedServerConnectionThread.java
index 28f804bf..a73c93db 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
}
}