mirror of https://github.com/Jackett/Jackett
BaseIndexer: include original stack trace in OnParseError exceptions
This commit is contained in:
parent
4819a3c8ed
commit
2a3b42f83a
|
@ -727,7 +727,7 @@ namespace Jackett.Indexers
|
||||||
var spacing = string.Join("", Enumerable.Repeat(Environment.NewLine, 5));
|
var spacing = string.Join("", Enumerable.Repeat(Environment.NewLine, 5));
|
||||||
var fileContents = string.Format("{0}{1}{2}", ex, spacing, results);
|
var fileContents = string.Format("{0}{1}{2}", ex, spacing, results);
|
||||||
logger.Error(fileName + fileContents);
|
logger.Error(fileName + fileContents);
|
||||||
throw ex;
|
throw new Exception("Parse error", ex);
|
||||||
}
|
}
|
||||||
|
|
||||||
public override TorznabCapabilities TorznabCaps { get; protected set; }
|
public override TorznabCapabilities TorznabCaps { get; protected set; }
|
||||||
|
|
Loading…
Reference in New Issue