mirror of
https://github.com/Prowlarr/Prowlarr.git
synced 2025-10-03 01:01:34 +02:00
Fixed an issue where a none-paused empty queue would throw.
This commit is contained in:
@@ -203,7 +203,7 @@ namespace NzbDrone.Core.Providers
|
||||
{
|
||||
var result = JsonConvert.DeserializeObject<SabJsonError>(response);
|
||||
|
||||
if (result.Status.Equals("false", StringComparison.InvariantCultureIgnoreCase))
|
||||
if (result.Status != null && result.Status.Equals("false", StringComparison.InvariantCultureIgnoreCase))
|
||||
throw new ApplicationException(result.Error);
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user