Fix: Try catch around main's _Run() does not use the new logging method correct
This commit is contained in:
1 parent
b51fedd6c9
commit
b4b058101c
1 file changed
+1
-8
+1
-8
@@ -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);
|
||||
|
||||
Reference in new issue
Block a user