コード例 #1
0
ファイル: CircuitHost.cs プロジェクト: ilkayilknur/aspnetcore
 public static void CircuitHandlerFailed(ILogger logger, CircuitHandler handler, string handlerMethod, Exception exception)
 {
     _circuitHandlerFailed(
         logger,
         handler.GetType(),
         handlerMethod,
         exception.Message,
         exception);
 }
コード例 #2
0
ファイル: TestCircuitHost.cs プロジェクト: zjklee/AspNetCore
 protected override void OnHandlerError(CircuitHandler circuitHandler, string handlerMethod, Exception ex)
 {
     ExceptionDispatchInfo.Capture(ex).Throw();
 }
コード例 #3
0
ファイル: CircuitHost.cs プロジェクト: zttonlyone/AspNetCore
 public static void UnhandledExceptionInvokingCircuitHandler(ILogger logger, CircuitHandler handler, string handlerMethod, Exception exception)
 {
     _unhandledExceptionInvokingCircuitHandler(
         logger,
         handler.GetType(),
         handlerMethod,
         exception.Message,
         exception);
 }
コード例 #4
0
ファイル: CircuitHost.cs プロジェクト: zttonlyone/AspNetCore
 protected virtual void OnHandlerError(CircuitHandler circuitHandler, string handlerMethod, Exception ex)
 {
     Log.UnhandledExceptionInvokingCircuitHandler(_logger, circuitHandler, handlerMethod, ex);
 }