Skip to content

Commit

Permalink
Merge pull request #152 from koenbeuk/issue-151
Browse files Browse the repository at this point in the history
Removed inaccurate exception causing Autofac integration issues
  • Loading branch information
koenbeuk authored Jun 28, 2022
2 parents 78a8962 + 9209b84 commit ce17d44
Showing 1 changed file with 0 additions and 5 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -37,11 +37,6 @@ public ApplicationTriggerServiceProviderAccessor(IServiceProvider internalServic

public void SetTriggerServiceProvider(IServiceProvider serviceProvider)
{
if (_applicationScopedServiceProvider is not null && _applicationScopedServiceProvider != serviceProvider)
{
throw new InvalidOperationException("Can only set applicationScopedServiceProvider once");
}

_applicationScopedServiceProvider = serviceProvider;
}

Expand Down

0 comments on commit ce17d44

Please sign in to comment.