/// <summary> /// An unhandled exception was caught when handling incoming bytes. /// </summary> /// <param name="context">Information about the exception that was caught</param> public virtual void OnUnhandledException(ServiceExceptionContext context) { }
/// <summary> /// Sends all unhandled exceptions upstream. /// </summary> /// <param name="context">Context info</param> public virtual void OnUnhandledException(ServiceExceptionContext context) { _pipeline.SendUpstream(new PipelineFailure(context.Exception)); }