Add debugging to exceptionCaught for Netty