From ccdff82fac4bcc1067ec806ade5ae897f1214f4d Mon Sep 17 00:00:00 2001 From: wei <kaede@kaededeMacBook-Air.local> Date: 星期四, 01 四月 2021 14:41:53 +0800 Subject: [PATCH] 异常捕获 --- HDL_ON/UI/UI0-Stan/Logic/HdlMessageLogic.cs | 12 ++++++------ 1 files changed, 6 insertions(+), 6 deletions(-) diff --git a/HDL_ON/UI/UI0-Stan/Logic/HdlMessageLogic.cs b/HDL_ON/UI/UI0-Stan/Logic/HdlMessageLogic.cs index 4931fd3..4cbc8da 100644 --- a/HDL_ON/UI/UI0-Stan/Logic/HdlMessageLogic.cs +++ b/HDL_ON/UI/UI0-Stan/Logic/HdlMessageLogic.cs @@ -81,14 +81,14 @@ { this.ShowMassage(ShowMsgType.Error, "System Error!", () => { - string msg = ex.Message + "\r\n"; - msg += ex.StackTrace; + //string msg = ex.Message + "\r\n"; + //msg += ex.StackTrace; - var form = new HideOptionFileContentForm(); - form.AddForm(string.Empty); - form.SetTextContent(msg); + //var form = new HideOptionFileContentForm(); + //form.AddForm(string.Empty); + //form.SetTextContent(msg); - }, "View Log"); + }, "ok"); } #endregion -- Gitblit v1.8.0