mirror of
https://github.com/Sonarr/Sonarr.git
synced 2025-01-17 10:45:49 +02:00
parent
930742ae2c
commit
a10eb88a95
@ -60,6 +60,8 @@ public List<Series> AddSeries(List<Series> newSeries, bool ignoreErrors = false)
|
||||
|
||||
foreach (var s in newSeries)
|
||||
{
|
||||
_logger.Info("Adding Series {0} Path: [{1}]", s, s.Path);
|
||||
|
||||
try
|
||||
{
|
||||
var series = AddSkyhookData(s);
|
||||
@ -91,11 +93,11 @@ private Series AddSkyhookData(Series newSeries)
|
||||
}
|
||||
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<ValidationFailure>
|
||||
{
|
||||
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)
|
||||
});
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user