diff --git a/src/NzbDrone.Common.Test/InstrumentationTests/SentryTargetFixture.cs b/src/NzbDrone.Common.Test/InstrumentationTests/SentryTargetFixture.cs index 3a3098a23..010578eb8 100644 --- a/src/NzbDrone.Common.Test/InstrumentationTests/SentryTargetFixture.cs +++ b/src/NzbDrone.Common.Test/InstrumentationTests/SentryTargetFixture.cs @@ -22,7 +22,8 @@ namespace NzbDrone.Common.Test.InstrumentationTests private static Exception[] FilteredExceptions = new Exception[] { new UnauthorizedAccessException(), - new TinyIoC.TinyIoCResolutionException(typeof(string)) + new TinyIoC.TinyIoCResolutionException(typeof(string)), + new OutOfMemoryException() }; [SetUp] diff --git a/src/NzbDrone.Common/Instrumentation/Sentry/SentryTarget.cs b/src/NzbDrone.Common/Instrumentation/Sentry/SentryTarget.cs index 15b2956c9..352124a2e 100644 --- a/src/NzbDrone.Common/Instrumentation/Sentry/SentryTarget.cs +++ b/src/NzbDrone.Common/Instrumentation/Sentry/SentryTarget.cs @@ -38,6 +38,8 @@ namespace NzbDrone.Common.Instrumentation.Sentry private static readonly HashSet FilteredExceptionTypeNames = new HashSet { // UnauthorizedAccessExceptions will just be user configuration issues "UnauthorizedAccessException", + // Out Of Memory isn't very informative + "OutOfMemoryException", // Filter out people stuck in boot loops "CorruptDatabaseException", // This also filters some people in boot loops