mirror of
https://github.com/Jackett/Jackett.git
synced 2025-09-17 17:34:09 +02:00
core: don't enforce expression body on constructors (#14138)
This commit is contained in:
@@ -8,7 +8,10 @@ namespace Jackett.Common.Exceptions
|
||||
public TimeSpan RetryAfter { get; private set; }
|
||||
|
||||
public TooManyRequestsException(string message, TimeSpan retryWait)
|
||||
: base(message) => RetryAfter = retryWait;
|
||||
: base(message)
|
||||
{
|
||||
RetryAfter = retryWait;
|
||||
}
|
||||
|
||||
public TooManyRequestsException(string message, WebResult response)
|
||||
: base(message)
|
||||
|
Reference in New Issue
Block a user