diff --git a/src/Directory.Packages.props b/src/Directory.Packages.props index a521e10fe..54f260e5b 100644 --- a/src/Directory.Packages.props +++ b/src/Directory.Packages.props @@ -36,7 +36,7 @@ - + diff --git a/src/NzbDrone.Common/Instrumentation/Sentry/SentryCleanser.cs b/src/NzbDrone.Common/Instrumentation/Sentry/SentryCleanser.cs index 76f0bcb54..62bff132b 100644 --- a/src/NzbDrone.Common/Instrumentation/Sentry/SentryCleanser.cs +++ b/src/NzbDrone.Common/Instrumentation/Sentry/SentryCleanser.cs @@ -11,7 +11,7 @@ namespace NzbDrone.Common.Instrumentation.Sentry { try { - sentryEvent.Message = CleanseLogMessage.Cleanse(sentryEvent.Message); + sentryEvent.Message.Message = CleanseLogMessage.Cleanse(sentryEvent.Message.Message); if (sentryEvent.Fingerprint != null) { diff --git a/src/NzbDrone.Common/Instrumentation/Sentry/SentryTarget.cs b/src/NzbDrone.Common/Instrumentation/Sentry/SentryTarget.cs index d6cbf285a..5640fe447 100644 --- a/src/NzbDrone.Common/Instrumentation/Sentry/SentryTarget.cs +++ b/src/NzbDrone.Common/Instrumentation/Sentry/SentryTarget.cs @@ -102,12 +102,12 @@ namespace NzbDrone.Common.Instrumentation.Sentry { _sdk = SentrySdk.Init(o => { - o.Dsn = new Dsn(dsn); + o.Dsn = dsn; o.AttachStacktrace = true; o.MaxBreadcrumbs = 200; o.SendDefaultPii = false; o.Debug = false; - o.DiagnosticsLevel = SentryLevel.Debug; + o.DiagnosticLevel = SentryLevel.Debug; o.Release = BuildInfo.Release; if (PlatformInfo.IsMono) {