mirror of
https://github.com/PluralKit/PluralKit.git
synced 2026-02-04 13:06:50 +00:00
Upgrade Autofac dependency
This commit is contained in:
parent
ca882dba73
commit
088bc15e5e
2 changed files with 4 additions and 4 deletions
|
|
@ -101,7 +101,7 @@ namespace PluralKit.Bot
|
|||
|
||||
async Task HandleEventInner()
|
||||
{
|
||||
var serviceScope = _services.BeginLifetimeScope();
|
||||
await using var serviceScope = _services.BeginLifetimeScope();
|
||||
|
||||
// Also, find a Sentry enricher for the event type (if one is present), and ask it to put some event data in the Sentry scope
|
||||
var sentryEnricher = serviceScope.ResolveOptional<ISentryEnricher<T>>();
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue