[#1934] Correctly log handshake errors and not print them to STDERR
This commit is contained in:
parent
6021df7451
commit
3a01bf1064
@ -1022,7 +1022,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…
Reference in New Issue
Block a user