mirror of
https://github.com/lidarr/lidarr.git
synced 2025-08-19 13:10:13 -07:00
Fixed an issue where a none-paused empty queue would throw.
This commit is contained in:
parent
78268f3c58
commit
0276fa12f0
2 changed files with 1 additions and 2 deletions
|
@ -31,7 +31,6 @@
|
||||||
"color_scheme":"",
|
"color_scheme":"",
|
||||||
"darwin":false,
|
"darwin":false,
|
||||||
"nt":true,
|
"nt":true,
|
||||||
"status":"Paused",
|
|
||||||
"last_warning":"",
|
"last_warning":"",
|
||||||
"have_warnings":"0",
|
"have_warnings":"0",
|
||||||
"cache_art":"0",
|
"cache_art":"0",
|
||||||
|
|
|
@ -203,7 +203,7 @@ namespace NzbDrone.Core.Providers
|
||||||
{
|
{
|
||||||
var result = JsonConvert.DeserializeObject<SabJsonError>(response);
|
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);
|
throw new ApplicationException(result.Error);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue