Made sure all exceptions are printed (2nd try)
This commit is contained in:
parent
b29b5a8289
commit
4cd9105eeb
@ -248,10 +248,9 @@ public abstract class AbstractSocketSslEchoTest {
|
||||
@Override
|
||||
public void exceptionCaught(ChannelHandlerContext ctx, ExceptionEvent e)
|
||||
throws Exception {
|
||||
if (exception.compareAndSet(null, e.getCause())) {
|
||||
exception.compareAndSet(null, e.getCause());
|
||||
e.getCause().printStackTrace();
|
||||
e.getChannel().close();
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user