Skip to content

Commit

Permalink
fix(class): fixed class to not register again
Browse files Browse the repository at this point in the history
  • Loading branch information
zhifenglee-aelf committed Nov 6, 2024
1 parent 2d0b5a3 commit 4422d28
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions AElf.ExceptionHandler.ABP/AutofacRegistration.cs
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down

0 comments on commit 4422d28

Please sign in to comment.