print stack trace when encountering exception in netty handler