From d11e130d613cd99e5e900671fc240bd6a24e271f Mon Sep 17 00:00:00 2001 From: md_5 Date: Mon, 3 Jun 2013 19:54:41 +1000 Subject: [PATCH] Close #365 - prettier error when mc.net is down --- .../main/java/net/md_5/bungee/connection/InitialHandler.java | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/proxy/src/main/java/net/md_5/bungee/connection/InitialHandler.java b/proxy/src/main/java/net/md_5/bungee/connection/InitialHandler.java index 57f5eebd..728dc1ff 100644 --- a/proxy/src/main/java/net/md_5/bungee/connection/InitialHandler.java +++ b/proxy/src/main/java/net/md_5/bungee/connection/InitialHandler.java @@ -200,7 +200,8 @@ public class InitialHandler extends PacketHandler implements PendingConnection @Override public void onThrowable(Throwable t) { - disconnect( "Error occured while contacting login servers, are they down?" + Util.exception( t ) ); + disconnect( "Error occured while contacting login servers, are they down?" ); + bungee.getLogger().log( Level.SEVERE, "Error authenticating " + getName() + " with minecraft.net", t ); } } ); } else