mirror of
https://github.com/lidarr/lidarr.git
synced 2025-08-21 14:03:29 -07:00
added more info to decision engine exception reporting.
This commit is contained in:
parent
f162f164e7
commit
4e06cf0fa6
5 changed files with 8 additions and 41 deletions
|
@ -110,6 +110,8 @@ namespace NzbDrone.Core.DecisionEngine
|
|||
}
|
||||
catch (Exception e)
|
||||
{
|
||||
e.Data.Add("report", remoteEpisode.Report);
|
||||
e.Data.Add("parsed", remoteEpisode.ParsedEpisodeInfo);
|
||||
_logger.ErrorException("Couldn't evaluate decision", e);
|
||||
return string.Format("{0}: {1}", spec.GetType().Name, e.Message);
|
||||
}
|
||||
|
|
|
@ -1,7 +1,5 @@
|
|||
using System.Linq;
|
||||
using NLog;
|
||||
using NzbDrone.Core.Model;
|
||||
using NzbDrone.Core.Parser;
|
||||
using NzbDrone.Core.Parser.Model;
|
||||
using NzbDrone.Core.Qualities;
|
||||
using NzbDrone.Core.Tv;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue