fix: don't spam Sentry with caught exceptions
This commit is contained in:
parent
f7b48ab30d
commit
cb38b6809d
@ -44,6 +44,7 @@ namespace PluralKit.Bot
|
|||||||
opts.Dsn = services.Resolve<CoreConfig>().SentryUrl;
|
opts.Dsn = services.Resolve<CoreConfig>().SentryUrl;
|
||||||
opts.Release = BuildInfoService.FullVersion;
|
opts.Release = BuildInfoService.FullVersion;
|
||||||
opts.AutoSessionTracking = true;
|
opts.AutoSessionTracking = true;
|
||||||
|
opts.DisableTaskUnobservedTaskExceptionCapture();
|
||||||
});
|
});
|
||||||
|
|
||||||
// "Connect to the database" (ie. set off database migrations and ensure state)
|
// "Connect to the database" (ie. set off database migrations and ensure state)
|
||||||
|
Loading…
Reference in New Issue
Block a user