diff --git a/AElf.ExceptionHandler.ABP/AutofacRegistration.cs b/AElf.ExceptionHandler.ABP/AutofacRegistration.cs index be98e1c..f72794a 100644 --- a/AElf.ExceptionHandler.ABP/AutofacRegistration.cs +++ b/AElf.ExceptionHandler.ABP/AutofacRegistration.cs @@ -317,6 +317,12 @@ public static void Register( { continue; } + + // Class type are already registered properly and can be ignored + if (descriptor.ServiceType.IsClass) + { + continue; + } } if (implementationType != null)