Fix: Try catch around main's _Run() does not use the new logging method correct

This commit is contained in:
lukeIam committed 2018-02-26 20:29:16 +01:00
1 parent b51fedd6c9
commit b4b058101c
1 file changed
+1 -8
+1 -8
View File
@@ -73,14 +73,7 @@ namespace Vocaluxe
}
catch (Exception e)
{
string stackTrace = "";
try
{
stackTrace = e.StackTrace;
}
catch {}
MessageBox.Show("Unhandled error: " + e.Message + stackTrace);
CLog.Error("Unhandled error: " + e.Message + stackTrace);
CLog.Fatal(e, "Unhandled error: {ErrorMessage}", CLog.Params(e.Message));
}
#else
_Run(args);