Fix small bug in the release build
This commit is contained in:
1 parent
735992d5c5
commit
6c4a710b81
1 file changed
+2
-1
+2
-1
@@ -434,7 +434,8 @@ namespace Vocaluxe
|
|||||||
[HandleProcessCorruptedStateExceptions]
|
[HandleProcessCorruptedStateExceptions]
|
||||||
private static void UnhandledExceptionHandler(object sender, UnhandledExceptionEventArgs args)
|
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
|
#endif
|
||||||
|
|
||||||
|
|||||||
Reference in new issue
Block a user