Fixed an issue where a none-paused empty queue would throw.

This commit is contained in:
kay.one
2012-01-19 22:59:37 -08:00
parent 78268f3c58
commit 0276fa12f0
2 changed files with 1 additions and 2 deletions

View File

@@ -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);
}
}