mirror of
https://github.com/PluralKit/PluralKit.git
synced 2026-02-04 04:56:49 +00:00
fix: don't spam Sentry with caught exceptions
This commit is contained in:
parent
f7b48ab30d
commit
cb38b6809d
1 changed files with 1 additions and 0 deletions
|
|
@ -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…
Add table
Add a link
Reference in a new issue