Fixed logging text for XBMC episode images

This commit is contained in:
Mark McDowall 2014-09-15 06:29:13 -07:00
parent ee322feb69
commit 7c01f46cc0
2 changed files with 1 additions and 7 deletions

View File

@ -3,20 +3,17 @@ using System.Collections.Generic;
using FluentValidation;
using Nancy;
using NLog;
using NzbDrone.Api.Mapping;
using NzbDrone.Core.DecisionEngine;
using NzbDrone.Core.Download;
using NzbDrone.Core.Exceptions;
using NzbDrone.Core.IndexerSearch;
using NzbDrone.Core.Indexers;
using NzbDrone.Core.Parser;
using NzbDrone.Core.Parser.Model;
using Omu.ValueInjecter;
using System.Linq;
using Nancy.ModelBinding;
using NzbDrone.Api.Extensions;
using NzbDrone.Common.Cache;
using System.Threading;
using SystemNetHttpStatusCode = System.Net.HttpStatusCode;
namespace NzbDrone.Api.Indexers
@ -28,7 +25,6 @@ namespace NzbDrone.Api.Indexers
private readonly IMakeDownloadDecision _downloadDecisionMaker;
private readonly IPrioritizeDownloadDecision _prioritizeDownloadDecision;
private readonly IDownloadService _downloadService;
private readonly IParsingService _parsingService;
private readonly Logger _logger;
private readonly ICached<RemoteEpisode> _remoteEpisodeCache;
@ -38,7 +34,6 @@ namespace NzbDrone.Api.Indexers
IMakeDownloadDecision downloadDecisionMaker,
IPrioritizeDownloadDecision prioritizeDownloadDecision,
IDownloadService downloadService,
IParsingService parsingService,
ICacheManager cacheManager,
Logger logger)
{
@ -47,7 +42,6 @@ namespace NzbDrone.Api.Indexers
_downloadDecisionMaker = downloadDecisionMaker;
_prioritizeDownloadDecision = prioritizeDownloadDecision;
_downloadService = downloadService;
_parsingService = parsingService;
_logger = logger;
GetResourceAll = GetReleases;
Post["/"] = x => DownloadRelease(this.Bind<ReleaseResource>());

View File

@ -313,7 +313,7 @@ namespace NzbDrone.Core.Metadata.Consumers.Xbmc
}
catch (Exception ex)
{
_logger.Error("Unable to episode image for file: " + Path.Combine(series.Path, episodeFile.RelativePath), ex);
_logger.Error("Unable to process episode image for file: " + Path.Combine(series.Path, episodeFile.RelativePath), ex);
return new List<ImageFileResult>();
}