Fixed: Test messaging when indexer API returns an error with a message

This commit is contained in:
Mark McDowall
2015-10-27 22:04:20 -07:00
parent e4e687c2a4
commit f0933b9786
2 changed files with 7 additions and 5 deletions
@@ -37,7 +37,7 @@ namespace NzbDrone.Core.Indexers.Newznab
throw new RequestLimitReachedException("API limit reached");
}
throw new NewznabException("Newznab error detected: {0}", errorMessage);
throw new NewznabException(indexerResponse, errorMessage);
}
protected override ReleaseInfo ProcessItem(XElement item, ReleaseInfo releaseInfo)