mirror of
https://github.com/Radarr/Radarr
synced 2025-03-03 18:36:41 +00:00
Better exception data for feed errors.
This commit is contained in:
parent
b4eed1a657
commit
9406ca9cf5
1 changed files with 3 additions and 0 deletions
|
@ -179,6 +179,8 @@ private List<EpisodeParseResult> Fetch(IEnumerable<string> urls)
|
||||||
}
|
}
|
||||||
catch (Exception itemEx)
|
catch (Exception itemEx)
|
||||||
{
|
{
|
||||||
|
itemEx.Data.Add("FeedUrl", url);
|
||||||
|
itemEx.Data.Add("Item", item.Title);
|
||||||
_logger.ErrorException("An error occurred while processing feed item", itemEx);
|
_logger.ErrorException("An error occurred while processing feed item", itemEx);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -186,6 +188,7 @@ private List<EpisodeParseResult> Fetch(IEnumerable<string> urls)
|
||||||
}
|
}
|
||||||
catch (Exception feedEx)
|
catch (Exception feedEx)
|
||||||
{
|
{
|
||||||
|
feedEx.Data.Add("FeedUrl", url);
|
||||||
_logger.ErrorException("An error occurred while processing feed: " + Name, feedEx);
|
_logger.ErrorException("An error occurred while processing feed: " + Name, feedEx);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue