diff --git a/src/NzbDrone.Common/Instrumentation/Sentry/SentryTarget.cs b/src/NzbDrone.Common/Instrumentation/Sentry/SentryTarget.cs index 7a98622e0..6d66f5e02 100644 --- a/src/NzbDrone.Common/Instrumentation/Sentry/SentryTarget.cs +++ b/src/NzbDrone.Common/Instrumentation/Sentry/SentryTarget.cs @@ -1,4 +1,4 @@ -using System; +using System; using System.Collections; using System.Collections.Generic; using System.Linq; @@ -164,6 +164,14 @@ namespace NzbDrone.Common.Instrumentation.Sentry } }; + // Fix openflixr being stupid with permissions + var serverName = sentryEvent.Contexts.Device.Name.ToLower(); + + if (serverName == "openflixr") + { + return; + } + if (logEvent.Exception != null) { sentryEvent.Fingerprint.Add(logEvent.Exception.GetType().FullName); @@ -191,4 +199,4 @@ namespace NzbDrone.Common.Instrumentation.Sentry } } } -} \ No newline at end of file +} diff --git a/src/NzbDrone.Core/Datastore/DbFactory.cs b/src/NzbDrone.Core/Datastore/DbFactory.cs index f231e7b2f..8920fdec6 100644 --- a/src/NzbDrone.Core/Datastore/DbFactory.cs +++ b/src/NzbDrone.Core/Datastore/DbFactory.cs @@ -105,11 +105,6 @@ namespace NzbDrone.Core.Datastore return dataMapper; }); - if (db.Migration > 100) //Quick DB Migration Check. This should get rid of users on old DB format - { - throw new CorruptDatabaseException("Invalid DB, Please Delete and Restart Lidarr"); - } - return db; }