Log partial indexer response on parser error.

This commit is contained in:
Taloth Saldono
2015-05-01 23:51:31 +02:00
parent 2e6cf2b7f6
commit 25c77711cd
2 changed files with 34 additions and 16 deletions
@@ -13,7 +13,7 @@ namespace NzbDrone.Core.Indexers.Newznab
protected override bool PreProcess(IndexerResponse indexerResponse)
{
var xdoc = XDocument.Parse(indexerResponse.Content);
var xdoc = LoadXmlDocument(indexerResponse);
var error = xdoc.Descendants("error").FirstOrDefault();
if (error == null) return true;