Fix: "Error on start up" does not show the assistant

This commit is contained in:
lukeIam committed 2018-01-28 14:22:38 +01:00
1 parent 5b66ae7702
commit 80ea1bce7e
1 file changed
+1 -2
+1 -2
View File
@@ -285,8 +285,7 @@ namespace Vocaluxe
}
catch (Exception e)
{
MessageBox.Show("Error on start up: " + e.Message);
CLog.Error("Error on start up: " + e);
CLog.Error(e, "Error on start up: {ExceptionMessage}", CLog.Params(e.Message), show:true);
if (_SplashScreen != null)
_SplashScreen.Close();
_CloseProgram();