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:
parent
786e38763a
commit
d7965022db
1 changed files with 6 additions and 1 deletions
|
@ -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;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue