Show correct error when cannot bind query

This commit is contained in:
md_5 2014-06-26 19:08:05 +10:00
parent 350cbd7bb6
commit fbb2f695b0

View File

@ -276,7 +276,7 @@ public class BungeeCord extends ProxyServer
getLogger().info( "Started query on " + future.channel().localAddress() ); getLogger().info( "Started query on " + future.channel().localAddress() );
} else } else
{ {
getLogger().log( Level.WARNING, "Could not bind to host " + future.channel().remoteAddress(), future.cause() ); getLogger().log( Level.WARNING, "Could not bind to host " + info.getHost(), future.cause() );
} }
} }
}; };