public static void CircuitHandlerFailed(ILogger logger, CircuitHandler handler, string handlerMethod, Exception exception) { _circuitHandlerFailed( logger, handler.GetType(), handlerMethod, exception.Message, exception); }
protected override void OnHandlerError(CircuitHandler circuitHandler, string handlerMethod, Exception ex) { ExceptionDispatchInfo.Capture(ex).Throw(); }
public static void UnhandledExceptionInvokingCircuitHandler(ILogger logger, CircuitHandler handler, string handlerMethod, Exception exception) { _unhandledExceptionInvokingCircuitHandler( logger, handler.GetType(), handlerMethod, exception.Message, exception); }
protected virtual void OnHandlerError(CircuitHandler circuitHandler, string handlerMethod, Exception ex) { Log.UnhandledExceptionInvokingCircuitHandler(_logger, circuitHandler, handlerMethod, ex); }