1
0
mirror of https://github.com/Sonarr/Sonarr.git synced 2024-12-04 10:34:59 +02: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,