diff --git a/NzbDrone.Core.Test/Files/QueueEmpty.txt b/NzbDrone.Core.Test/Files/QueueEmpty.txt index 171ff546a..7e8b1f250 100644 --- a/NzbDrone.Core.Test/Files/QueueEmpty.txt +++ b/NzbDrone.Core.Test/Files/QueueEmpty.txt @@ -31,7 +31,6 @@ "color_scheme":"", "darwin":false, "nt":true, - "status":"Paused", "last_warning":"", "have_warnings":"0", "cache_art":"0", diff --git a/NzbDrone.Core/Providers/SabProvider.cs b/NzbDrone.Core/Providers/SabProvider.cs index bd3b6603d..f4e2916e4 100644 --- a/NzbDrone.Core/Providers/SabProvider.cs +++ b/NzbDrone.Core/Providers/SabProvider.cs @@ -203,7 +203,7 @@ namespace NzbDrone.Core.Providers { var result = JsonConvert.DeserializeObject(response); - if (result.Status.Equals("false", StringComparison.InvariantCultureIgnoreCase)) + if (result.Status != null && result.Status.Equals("false", StringComparison.InvariantCultureIgnoreCase)) throw new ApplicationException(result.Error); } }