mirror of
https://github.com/PluralKit/PluralKit.git
synced 2026-02-04 04:56:49 +00:00
fix(bot): allow empty sentry url
This commit is contained in:
parent
c639d877f8
commit
f427d4d727
1 changed files with 1 additions and 1 deletions
|
|
@ -42,7 +42,7 @@ public class Init
|
||||||
|
|
||||||
using var _ = SentrySdk.Init(opts =>
|
using var _ = SentrySdk.Init(opts =>
|
||||||
{
|
{
|
||||||
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();
|
// opts.DisableTaskUnobservedTaskExceptionCapture();
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue