From 699acf0ed27b1273c7230830062e5a9e71f8782c Mon Sep 17 00:00:00 2001 From: Bogdan Date: Thu, 25 Apr 2024 11:06:10 +0300 Subject: [PATCH] Treat CorruptDatabaseException as a startup failure ignore-downstream --- src/NzbDrone.Core/Datastore/CorruptDatabaseException.cs | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/NzbDrone.Core/Datastore/CorruptDatabaseException.cs b/src/NzbDrone.Core/Datastore/CorruptDatabaseException.cs index 4df2bfea4..895a11adf 100644 --- a/src/NzbDrone.Core/Datastore/CorruptDatabaseException.cs +++ b/src/NzbDrone.Core/Datastore/CorruptDatabaseException.cs @@ -3,7 +3,7 @@ using NzbDrone.Common.Exceptions; namespace NzbDrone.Core.Datastore { - public class CorruptDatabaseException : NzbDroneException + public class CorruptDatabaseException : SonarrStartupException { public CorruptDatabaseException(string message, params object[] args) : base(message, args) @@ -16,12 +16,12 @@ namespace NzbDrone.Core.Datastore } public CorruptDatabaseException(string message, Exception innerException, params object[] args) - : base(message, innerException, args) + : base(innerException, message, args) { } public CorruptDatabaseException(string message, Exception innerException) - : base(message, innerException) + : base(innerException, message) { } }