[#1934] Correctly log handshake errors and not print them to STDERR
This commit is contained in:
parent
14e3c2c0d4
commit
bcdb3e88d8
@ -1025,7 +1025,7 @@ public class SslHandler extends ByteToMessageDecoder implements ChannelOutboundH
|
|||||||
@Override
|
@Override
|
||||||
public void operationComplete(Future<Channel> future) throws Exception {
|
public void operationComplete(Future<Channel> future) throws Exception {
|
||||||
if (!future.isSuccess()) {
|
if (!future.isSuccess()) {
|
||||||
future.cause().printStackTrace();
|
logger.debug("Failed to complete handshake", future.cause());
|
||||||
ctx.close();
|
ctx.close();
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user