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); } }