BaseIndexer: include original stack trace in OnParseError exceptions

This commit is contained in:
kaso17 2017-09-13 11:49:24 +02:00
parent 4819a3c8ed
commit 2a3b42f83a
1 changed files with 1 additions and 1 deletions

View File

@ -727,7 +727,7 @@ namespace Jackett.Indexers
var spacing = string.Join("", Enumerable.Repeat(Environment.NewLine, 5));
var fileContents = string.Format("{0}{1}{2}", ex, spacing, results);
logger.Error(fileName + fileContents);
throw ex;
throw new Exception("Parse error", ex);
}
public override TorznabCapabilities TorznabCaps { get; protected set; }