Better exception logging.

This commit is contained in:
kay.one 2012-01-19 22:12:07 -08:00
commit 1e580856ca
2 changed files with 7 additions and 2 deletions

View file

@ -110,7 +110,7 @@ namespace NzbDrone.Core
}
catch (Exception e)
{
Logger.Error("An error has occurred while trying to parse '{0}'", title);
Logger.ErrorException("An error has occurred while trying to parse " + title, e);
}
return null;
}