Added missing SentryEnabled check

pull/3292/head
Taloth Saldono 5 years ago
parent 354ddcfee5
commit e96d05149c

@ -251,7 +251,7 @@ namespace NzbDrone.Common.Instrumentation.Sentry
protected override void Write(LogEventInfo logEvent)
{
if (_unauthorized)
if (_unauthorized || !SentryEnabled)
{
return;
}

Loading…
Cancel
Save