From 73b3b1848b09d128e6cf1b7553131c2233e68f66 Mon Sep 17 00:00:00 2001 From: "servarr[bot]" <68984020+servarr[bot]@users.noreply.github.com> Date: Sat, 5 Aug 2023 21:56:25 +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 1f2fb09ce..83b5b7eb7 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