From 9406ca9cf5356fa26eb88973a9e642dc49da7923 Mon Sep 17 00:00:00 2001 From: "kay.one" Date: Wed, 18 Jan 2012 18:08:17 -0800 Subject: [PATCH] Better exception data for feed errors. --- NzbDrone.Core/Providers/Indexer/IndexerBase.cs | 3 +++ 1 file changed, 3 insertions(+) diff --git a/NzbDrone.Core/Providers/Indexer/IndexerBase.cs b/NzbDrone.Core/Providers/Indexer/IndexerBase.cs index 5b64b32e5..a24d3bef7 100644 --- a/NzbDrone.Core/Providers/Indexer/IndexerBase.cs +++ b/NzbDrone.Core/Providers/Indexer/IndexerBase.cs @@ -179,6 +179,8 @@ namespace NzbDrone.Core.Providers.Indexer } catch (Exception itemEx) { + itemEx.Data.Add("FeedUrl", url); + itemEx.Data.Add("Item", item.Title); _logger.ErrorException("An error occurred while processing feed item", itemEx); } @@ -186,6 +188,7 @@ namespace NzbDrone.Core.Providers.Indexer } catch (Exception feedEx) { + feedEx.Data.Add("FeedUrl", url); _logger.ErrorException("An error occurred while processing feed: " + Name, feedEx); } }