Skip to content

Commit c1666f4

Browse files
committed
Use proper logging placeholder for Netty logging
1 parent ec6ea9b commit c1666f4

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

modules/transport-netty4/src/main/java/org/elasticsearch/transport/netty4/Netty4Transport.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -323,7 +323,7 @@ protected void sendMessage(Channel channel, BytesReference reference, ActionList
323323
final Throwable cause = f.cause();
324324
Netty4Utils.maybeDie(cause);
325325
logger.warn((Supplier<?>) () ->
326-
new ParameterizedMessage("write and flush on the network layer failed (channel: [])", channel), cause);
326+
new ParameterizedMessage("write and flush on the network layer failed (channel: {})", channel), cause);
327327
assert cause instanceof Exception;
328328
listener.onFailure((Exception) cause);
329329
}

0 commit comments

Comments
 (0)