1
0
mirror of https://github.com/Sonarr/Sonarr.git synced 2024-12-16 11:37:58 +02:00

Releases instead of reports (but no results found)

This commit is contained in:
Mark McDowall 2015-05-07 10:17:26 -07:00
parent 1e2ba691ed
commit df4604057e

View File

@ -44,12 +44,12 @@ private IEnumerable<DownloadDecision> GetDecisions(List<ReleaseInfo> reports, Se
{ {
if (reports.Any()) if (reports.Any())
{ {
_logger.ProgressInfo("Processing {0} reports", reports.Count); _logger.ProgressInfo("Processing {0} releases", reports.Count);
} }
else else
{ {
_logger.ProgressInfo("No reports found"); _logger.ProgressInfo("No results found");
} }
var reportNumber = 1; var reportNumber = 1;
@ -57,7 +57,7 @@ private IEnumerable<DownloadDecision> GetDecisions(List<ReleaseInfo> reports, Se
foreach (var report in reports) foreach (var report in reports)
{ {
DownloadDecision decision = null; DownloadDecision decision = null;
_logger.ProgressTrace("Processing report {0}/{1}", reportNumber, reports.Count); _logger.ProgressTrace("Processing release {0}/{1}", reportNumber, reports.Count);
try try
{ {
@ -91,7 +91,7 @@ private IEnumerable<DownloadDecision> GetDecisions(List<ReleaseInfo> reports, Se
} }
catch (Exception e) catch (Exception e)
{ {
_logger.ErrorException("Couldn't process report.", e); _logger.ErrorException("Couldn't process release.", e);
} }
reportNumber++; reportNumber++;