Write exception during loading to log

This commit is contained in:
oldmud0 2016-02-27 10:39:46 -06:00
parent c07a0536a2
commit 89db2a0505

View file

@ -442,6 +442,7 @@ namespace LilithPort {
textBoxWelcome->Text = gcnew String(MTOPTION.WELCOME);
}
catch (Exception^ e) {
WriteErrorLog(e->ToString(), "StartupForm_Load");
error = true;
}
@ -454,6 +455,7 @@ namespace LilithPort {
numericUpDownOpenPort->Value = 7500;
numericUpDownOpenPort->Value = 7500;
numericUpDownMaxConnection->Value = 4;
WriteErrorLog(e->ToString(), "StartupForm_Load");
error = true;
}