Animatroller.ExpanderCommunication.NettyClientHandler.ExceptionCaught C# (CSharp) Method

ExceptionCaught() public method

public ExceptionCaught ( IChannelHandlerContext context, Exception exception ) : void
context IChannelHandlerContext
exception System.Exception
return void
        public override void ExceptionCaught(IChannelHandlerContext context, Exception exception)
        {
            log.Warn($"Exception in NettyClientHandler: {exception.Message}");

            context.CloseAsync();
        }
    }