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
@@ -19,7 +19,7 @@ namespace NzbDrone.Common.Instrumentation
var exception = e.Exception;
Console.WriteLine("Task Error: {0}", exception);
Logger.Error("Task Error: " + exception.Message, exception);
Logger.ErrorException("Task Error: " + exception.Message, exception);
}
private static void HandleAppDomainException(object sender, UnhandledExceptionEventArgs e)