Skip to content

Commit

Permalink
Merge branch 'master' into abp-8.0.5
Browse files Browse the repository at this point in the history
  • Loading branch information
zhifenglee-aelf committed Nov 26, 2024
2 parents 6d6354f + e29cbf0 commit 157df74
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion AElf.ExceptionHandler.ABP/AOPExceptionModule.cs
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ public override void PostConfigureServices(ServiceConfigurationContext context)
base.PostConfigureServices(context);
context.Services.OnRegistered(RegisterExceptionHandlerIfNeeded);
//remove all services that are satisfies ShouldIntercept. To be registered again later.
AElfExceptionHandlerHostBuilderExtensions.ExceptionHandlerServices = context.Services.RemoveAll(s => s.ImplementationType != null && ShouldIntercept(s.ImplementationType));
AElfExceptionHandlerHostBuilderExtensions.ExceptionHandlerServices = context.Services.RemoveAll(s => s.NormalizedImplementationType() != null && ShouldIntercept(s.NormalizedImplementationType()));

Check warning on line 25 in AElf.ExceptionHandler.ABP/AOPExceptionModule.cs

View workflow job for this annotation

GitHub Actions / publish

Possible null reference argument for parameter 'type' in 'bool AOPExceptionModule.ShouldIntercept(Type type)'.
}

private static void RegisterExceptionHandlerIfNeeded(IOnServiceRegistredContext context)
Expand Down

0 comments on commit 157df74

Please sign in to comment.