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