From 269dc7ee15d5378737ac60614cb57470d40dc9fc Mon Sep 17 00:00:00 2001 From: md_5 Date: Thu, 6 Dec 2012 11:23:43 +1100 Subject: [PATCH] Add moar debug --- src/main/java/net/md_5/bungee/UserConnection.java | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/main/java/net/md_5/bungee/UserConnection.java b/src/main/java/net/md_5/bungee/UserConnection.java index d678d369..2d653874 100644 --- a/src/main/java/net/md_5/bungee/UserConnection.java +++ b/src/main/java/net/md_5/bungee/UserConnection.java @@ -121,7 +121,8 @@ public class UserConnection extends GenericConnection implements CommandSender destroySelf(ex.getMessage()); } catch (Exception ex) { - destroySelf("Could not connect to server"); + destroySelf("Could not connect to server - " + ex.getClass().getSimpleName()); + ex.printStackTrace(); // TODO: Remove } }