mirror of
https://github.com/fergalmoran/Readarr.git
synced 2025-12-22 09:29:59 +00:00
Filter OOM from sentry
This commit is contained in:
@@ -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]
|
||||
|
||||
@@ -38,6 +38,8 @@ namespace NzbDrone.Common.Instrumentation.Sentry
|
||||
private static readonly HashSet<string> FilteredExceptionTypeNames = new HashSet<string> {
|
||||
// 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
|
||||
|
||||
Reference in New Issue
Block a user