mirror of
https://github.com/Readarr/Readarr.git
synced 2026-04-22 22:14:44 -04:00
Updated NLog to v4.2.3.
This commit is contained in:
@@ -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");
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user