Skip to content

Commit 9350deb

Browse files
committed
Improve error logging
1 parent cbd2088 commit 9350deb

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/main/java/com/ning/http/client/providers/netty/NettyConnectionsPool.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -160,7 +160,7 @@ public boolean offer(String uri, Channel channel) {
160160
IdleChannel idleChannel = new IdleChannel(uri, channel);
161161
added = idleConnectionForHost.add(idleChannel);
162162
if (channel2IdleChannel.put(channel, idleChannel) != null) {
163-
log.error("Bas, this channel entry already exists in the connections pool!");
163+
log.error("Channel {} already exists in the connections pool!", channel);
164164
}
165165
} else {
166166
log.debug("Maximum number of requests per host reached {} for {}", maxConnectionPerHost, uri);

0 commit comments

Comments
 (0)