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) catch (Exception e)
{ {
string stackTrace = ""; CLog.Fatal(e, "Unhandled error: {ErrorMessage}", CLog.Params(e.Message));
try
{
stackTrace = e.StackTrace;
}
catch {}
MessageBox.Show("Unhandled error: " + e.Message + stackTrace);
CLog.Error("Unhandled error: " + e.Message + stackTrace);
} }
#else #else
_Run(args); _Run(args);