Encypted errors be gone!

Fixed: Stop logging errors when parsing encrypted posts
This commit is contained in:
Mark McDowall 2012-12-20 15:29:14 -08:00
commit fb5b7a9277
2 changed files with 9 additions and 1 deletions

View file

@ -140,7 +140,8 @@ namespace NzbDrone.Core
}
catch (Exception e)
{
Logger.ErrorException("An error has occurred while trying to parse " + title, e);
if (!title.ToLower().Contains("password") && !title.ToLower().Contains("yenc"))
Logger.ErrorException("An error has occurred while trying to parse " + title, e);
}
Logger.Trace("Unable to parse {0}", title);