Fixed log message for rss sync gap warning.

This commit is contained in:
Taloth Saldono 2015-08-12 18:53:14 +02:00
parent 7991a3f1c3
commit 2627072aab
1 changed files with 1 additions and 1 deletions

View File

@ -181,7 +181,7 @@ namespace NzbDrone.Core.Indexers
if (!fullyUpdated && lastReleaseInfo != null)
{
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);
}
lastReleaseInfo = ordered.First();