From a10eb88a956f2969794f57e92d29457f0f864cd8 Mon Sep 17 00:00:00 2001 From: Mark McDowall Date: Sat, 19 Sep 2020 23:29:45 -0700 Subject: [PATCH] Fixed: Log path when import fails for series import Fixes #3970 --- src/NzbDrone.Core/Tv/AddSeriesService.cs | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/src/NzbDrone.Core/Tv/AddSeriesService.cs b/src/NzbDrone.Core/Tv/AddSeriesService.cs index 8c77748ea..22b28c598 100644 --- a/src/NzbDrone.Core/Tv/AddSeriesService.cs +++ b/src/NzbDrone.Core/Tv/AddSeriesService.cs @@ -60,6 +60,8 @@ namespace NzbDrone.Core.Tv foreach (var s in newSeries) { + _logger.Info("Adding Series {0} Path: [{1}]", s, s.Path); + try { var series = AddSkyhookData(s); @@ -91,11 +93,11 @@ namespace NzbDrone.Core.Tv } catch (SeriesNotFoundException) { - _logger.Error("tvdbid {0} was not found, it may have been removed from TheTVDB.", newSeries.TvdbId); + _logger.Error("tvdbid {0} was not found, it may have been removed from TheTVDB. Path: {1}", newSeries.TvdbId, newSeries.Path); throw new ValidationException(new List { - new ValidationFailure("TvdbId", "A series with this ID was not found", newSeries.TvdbId) + new ValidationFailure("TvdbId", $"A series with this ID was not found. Path: {newSeries.Path}", newSeries.TvdbId) }); }