Fix small bug in the release build

This commit is contained in:
lukeIam committed 2018-01-20 08:03:29 +01:00
1 parent 735992d5c5
commit 6c4a710b81
1 file changed
+2 -1
+2 -1
View File
@@ -434,7 +434,8 @@ namespace Vocaluxe
[HandleProcessCorruptedStateExceptions]
private static void UnhandledExceptionHandler(object sender, UnhandledExceptionEventArgs args)
{
CLog.Fatal((Exception)args.ExceptionObject, "Unhandled exception: {ExceptionMessage}", CLog.Params(e.Message));
var e = (Exception)args.ExceptionObject;
CLog.Fatal(e, "Unhandled exception: {ExceptionMessage}", CLog.Params(e.Message));
}
#endif