Close #365 - prettier error when mc.net is down

This commit is contained in:
md_5 2013-06-03 19:54:41 +10:00
parent 45a93c8cfc
commit d11e130d61

View File

@ -200,7 +200,8 @@ public class InitialHandler extends PacketHandler implements PendingConnection
@Override @Override
public void onThrowable(Throwable t) 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 } else