Updated NLog to v4.2.3.

This commit is contained in:
Taloth Saldono
2016-02-11 22:13:42 +01:00
parent e01b2ef25c
commit 6a90035a4c
144 changed files with 305 additions and 5579 deletions
@@ -44,7 +44,7 @@ namespace NzbDrone.Core.Notifications.Email
catch(Exception ex)
{
_logger.Error("Error sending email. Subject: {0}", email.Subject);
_logger.DebugException(ex.Message, ex);
_logger.Debug(ex, ex.Message);
}
}
@@ -61,7 +61,7 @@ namespace NzbDrone.Core.Notifications.Email
catch (Exception ex)
{
_logger.ErrorException("There was an error sending an email.", ex);
_logger.Error(ex, "There was an error sending an email.");
throw;
}
}
@@ -76,7 +76,7 @@ namespace NzbDrone.Core.Notifications.Email
}
catch (Exception ex)
{
_logger.ErrorException("Unable to send test email: " + ex.Message, ex);
_logger.Error(ex, "Unable to send test email: " + ex.Message);
return new ValidationFailure("Server", "Unable to send test email");
}