Certain log messages didn't include the exception.

This commit is contained in:
Taloth Saldono
2016-02-07 00:23:13 +01:00
parent 4038fa6907
commit 68540cb479
6 changed files with 6 additions and 6 deletions

View File

@@ -35,7 +35,7 @@ namespace NzbDrone.Core.HealthCheck.Checks
{
var message = String.Format("Unable to communicate with {0}.", downloadClient.Definition.Name);
_logger.Error(message, ex);
_logger.ErrorException(message, ex);
return new HealthCheck(GetType(), HealthCheckResult.Error, message + " " + ex.Message);
}
}