From e96d05149ca1fb5afeb7970363d09d8dfd9b6d31 Mon Sep 17 00:00:00 2001 From: Taloth Saldono Date: Fri, 30 Aug 2019 20:40:35 +0200 Subject: [PATCH] Added missing SentryEnabled check --- src/NzbDrone.Common/Instrumentation/Sentry/SentryTarget.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/NzbDrone.Common/Instrumentation/Sentry/SentryTarget.cs b/src/NzbDrone.Common/Instrumentation/Sentry/SentryTarget.cs index 19399c683..fdde6f24b 100644 --- a/src/NzbDrone.Common/Instrumentation/Sentry/SentryTarget.cs +++ b/src/NzbDrone.Common/Instrumentation/Sentry/SentryTarget.cs @@ -251,7 +251,7 @@ namespace NzbDrone.Common.Instrumentation.Sentry protected override void Write(LogEventInfo logEvent) { - if (_unauthorized) + if (_unauthorized || !SentryEnabled) { return; }