mirror of
https://github.com/Sonarr/Sonarr.git
synced 2025-04-23 13:57:06 -04:00
Added missing SentryEnabled check
This commit is contained in:
parent
354ddcfee5
commit
e96d05149c
1 changed files with 1 additions and 1 deletions
|
@ -251,7 +251,7 @@ namespace NzbDrone.Common.Instrumentation.Sentry
|
|||
|
||||
protected override void Write(LogEventInfo logEvent)
|
||||
{
|
||||
if (_unauthorized)
|
||||
if (_unauthorized || !SentryEnabled)
|
||||
{
|
||||
return;
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue