From 02c0e2adbbdc998e9540b406c7642a668919d0e1 Mon Sep 17 00:00:00 2001 From: Qstick Date: Sat, 5 Aug 2023 13:35:50 -0500 Subject: [PATCH] Filter user issues from Sentry (#5859) (cherry picked from commit 03d361f5537bfc0caba1b86085f974570942fdbc) --- .../Instrumentation/Sentry/SentryTarget.cs | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/src/NzbDrone.Common/Instrumentation/Sentry/SentryTarget.cs b/src/NzbDrone.Common/Instrumentation/Sentry/SentryTarget.cs index 9a89c1cb7..39b0a920a 100644 --- a/src/NzbDrone.Common/Instrumentation/Sentry/SentryTarget.cs +++ b/src/NzbDrone.Common/Instrumentation/Sentry/SentryTarget.cs @@ -43,7 +43,13 @@ namespace NzbDrone.Common.Instrumentation.Sentry "OutOfMemoryException", // Filter out people stuck in boot loops - "CorruptDatabaseException" + "CorruptDatabaseException", + + // Filter SingleInstance Termination Exceptions + "TerminateApplicationException", + + // User config issue, root folder missing, etc. + "DirectoryNotFoundException" }; public static readonly List FilteredExceptionMessages = new List