mirror of
https://github.com/Sonarr/Sonarr
synced 2026-04-22 21:22:06 +02:00
Treat CorruptDatabaseException as a startup failure
ignore-downstream
This commit is contained in:
parent
1df7cdc65e
commit
9738101042
1 changed files with 3 additions and 3 deletions
|
|
@ -3,7 +3,7 @@
|
|||
|
||||
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 @@ public CorruptDatabaseException(string message)
|
|||
}
|
||||
|
||||
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)
|
||||
{
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue