mirror of https://github.com/Radarr/Radarr
Compare commits
3 Commits
823fb4ba0d
...
cb3da195a8
Author | SHA1 | Date |
---|---|---|
Ivan Sanz Carasa | cb3da195a8 | |
Bogdan | 3db78079f3 | |
Bogdan | c8a6b9f565 |
|
@ -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)
|
||||
{
|
||||
}
|
||||
}
|
||||
|
|
|
@ -34,6 +34,7 @@ namespace NzbDrone.Core.Download
|
|||
{
|
||||
{ Result.HasHttpServerError: true } => PredicateResult.True(),
|
||||
{ Result.StatusCode: HttpStatusCode.RequestTimeout } => PredicateResult.True(),
|
||||
{ Exception: HttpException { Response.HasHttpServerError: true } } => PredicateResult.True(),
|
||||
_ => PredicateResult.False()
|
||||
},
|
||||
Delay = TimeSpan.FromSeconds(3),
|
||||
|
|
Loading…
Reference in New Issue