1
0
Fork 0
mirror of https://github.com/Sonarr/Sonarr synced 2024-12-26 09:47:39 +00:00

Fix: RSS parse errors are no longer logged as warning and will not show up in the log page (they are still included in the log files)

This commit is contained in:
kay.one 2012-02-10 17:54:08 -08:00
parent 786e38763a
commit d7965022db

View file

@ -83,6 +83,10 @@ namespace NzbDrone.Core
{ {
result.OriginalString = path; result.OriginalString = path;
} }
else
{
Logger.Warn("Unable to parse episode info from path {0}", path);
}
return result; return result;
} }
@ -119,7 +123,8 @@ namespace NzbDrone.Core
{ {
Logger.ErrorException("An error has occurred while trying to parse " + title, e); Logger.ErrorException("An error has occurred while trying to parse " + title, e);
} }
Logger.Warn("Unable to parse episode info. {0}", title);
Logger.Trace("Unable to parse {0}", title);
ReportingService.ReportParseError(title); ReportingService.ReportParseError(title);
return null; return null;
} }