From 89db2a050561d3475631c0781b5469735f724a9e Mon Sep 17 00:00:00 2001 From: oldmud0 Date: Sat, 27 Feb 2016 10:39:46 -0600 Subject: [PATCH] Write exception during loading to log --- LilithPort/StartupForm.h | 2 ++ 1 file changed, 2 insertions(+) diff --git a/LilithPort/StartupForm.h b/LilithPort/StartupForm.h index b2dc9cf..537ff01 100644 --- a/LilithPort/StartupForm.h +++ b/LilithPort/StartupForm.h @@ -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; }