Updated log appearance.

This commit is contained in:
Keivan 2010-10-24 10:35:58 -07:00
commit c9bc063a9c
11 changed files with 81 additions and 33 deletions

View file

@ -54,11 +54,11 @@ namespace NzbDrone.Web
var lastError = Server.GetLastError();
if (lastError is HttpException)
{
Logger.WarnException("", lastError);
Logger.WarnException(lastError.Message, lastError);
}
else
{
Logger.FatalException("", lastError);
Logger.FatalException(lastError.Message, lastError);
}
}