From 65068ab1af79d0c5acb4921e2ba6bce547245afc Mon Sep 17 00:00:00 2001 From: "servarr[bot]" <68984020+servarr[bot]@users.noreply.github.com> Date: Sat, 5 Aug 2023 21:42:30 +0300 Subject: [PATCH] Filter user issues from Sentry (cherry picked from commit 03d361f5537bfc0caba1b86085f974570942fdbc) Co-authored-by: Qstick --- .../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