1
0
mirror of https://github.com/Radarr/Radarr.git synced 2024-11-10 04:52:42 +01:00

Better logging for auto adding new episodes.

This commit is contained in:
kay.one 2011-12-14 00:07:33 -08:00
parent 19c087e50a
commit 98e8f4361e

View File

@ -131,7 +131,7 @@ public virtual IList<Episode> GetEpisodesByParseResult(EpisodeParseResult parseR
if (episodeInfo == null && autoAddNew)
{
Logger.Debug("Episode {0} doesn't exist in db. adding it now.", parseResult);
Logger.Info("Episode {0} doesn't exist in db. adding it now. {1}", parseResult, parseResult.NzbTitle);
episodeInfo = new Episode
{
SeriesId = parseResult.Series.SeriesId,
@ -183,7 +183,7 @@ public virtual IList<Episode> GetEpisodesByParseResult(EpisodeParseResult parseR
//if still null we should add the temp episode
if (episodeInfo == null && autoAddNew)
{
Logger.Debug("Episode {0} doesn't exist in db. adding it now.", parseResult);
Logger.Info("Episode {0} doesn't exist in db. adding it now. {1}", parseResult, parseResult.NzbTitle);
episodeInfo = new Episode
{
SeriesId = parseResult.Series.SeriesId,