Fix log string

This commit is contained in:
s809
2023-07-08 16:22:54 +05:00
parent 7d5b3c8917
commit 730216b761
@@ -77,7 +77,7 @@ public class NetworkClient extends NetworkEventSource implements AutoCloseable {
ChannelFuture connectFuture = clientBootstrap.connect(address);
connectFuture.addListener((ChannelFuture channelFuture) -> {
if (!channelFuture.isSuccess()) {
LOGGER.warn("Connection failed: {0}", channelFuture.cause());
LOGGER.warn("Connection failed: {}", channelFuture.cause());
return;
}
channel.writeAndFlush(new HelloMessage());