Fixed log message for rss sync gap warning.

pull/2/head
Taloth Saldono 9 years ago
parent 7991a3f1c3
commit 2627072aab

@ -181,7 +181,7 @@ namespace NzbDrone.Core.Indexers
if (!fullyUpdated && lastReleaseInfo != null) if (!fullyUpdated && lastReleaseInfo != null)
{ {
var gapStart = lastReleaseInfo.PublishDate; var gapStart = lastReleaseInfo.PublishDate;
var gapEnd = ordered.Last(); var gapEnd = ordered.Last().PublishDate;
_logger.Warn("Indexer {0} rss sync didn't cover the period between {1} and {2} UTC. Search may be required.", Definition.Name, gapStart, gapEnd); _logger.Warn("Indexer {0} rss sync didn't cover the period between {1} and {2} UTC. Search may be required.", Definition.Name, gapStart, gapEnd);
} }
lastReleaseInfo = ordered.First(); lastReleaseInfo = ordered.First();

Loading…
Cancel
Save