Added missing SentryEnabled check

This commit is contained in:
Taloth Saldono 2019-08-30 20:40:35 +02:00
parent 354ddcfee5
commit e96d05149c
1 changed files with 1 additions and 1 deletions

View File

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