mirror of
https://github.com/Readarr/Readarr.git
synced 2026-10-26 10:59:37 -04:00
Fixed an issue where a none-paused empty queue would throw.
This commit is contained in:
1 parent
78268f3c58
commit
0276fa12f0
2 files changed
+1
-2
No files matched your search
@@ -31,7 +31,6 @@
|
||||
"color_scheme":"",
|
||||
"darwin":false,
|
||||
"nt":true,
|
||||
"status":"Paused",
|
||||
"last_warning":"",
|
||||
"have_warnings":"0",
|
||||
"cache_art":"0",
|
||||
|
||||
@@ -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