From 0829aca6483cb3b2f2cb24033454cfee10f1e62c Mon Sep 17 00:00:00 2001 From: lvzb <35200379@qq.com> Date: Tue, 28 Nov 2023 08:57:08 +0800 Subject: [PATCH] =?UTF-8?q?=E9=A6=96=E9=A1=B5=E6=8A=A5=E9=94=99=E6=B7=BB?= =?UTF-8?q?=E5=8A=A0=E6=97=A5=E5=BF=97?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- SCP/Global.asax.cs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/SCP/Global.asax.cs b/SCP/Global.asax.cs index 009e01c..782e414 100644 --- a/SCP/Global.asax.cs +++ b/SCP/Global.asax.cs @@ -73,10 +73,10 @@ namespace SCP { String errorCode = Guid.NewGuid().ToString(); - String errorMsg = objExp.InnerException == null ? objExp.GetBaseException().Message : objExp.InnerException.Message+ objExp.InnerException.StackTrace; + String errorMsg = objExp.InnerException == null ? objExp.GetBaseException().Message : objExp.InnerException.Message+ objExp.InnerException.StackTrace; HttpContext.Current.Server.ClearError(); - + LogHelper.Writlog(LogHelper.LogType.Error, typeof(Global), "Application_Error", objExp.Message+ "InnerMess:" + objExp.InnerException.Message + "InnerST:" + objExp.InnerException.StackTrace); ShowError(errorCode, errorMsg, HttpContext.Current); } }