|
@ -73,10 +73,10 @@ namespace SCP |
|
|
{ |
|
|
{ |
|
|
|
|
|
|
|
|
String errorCode = Guid.NewGuid().ToString(); |
|
|
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(); |
|
|
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); |
|
|
ShowError(errorCode, errorMsg, HttpContext.Current); |
|
|
} |
|
|
} |
|
|
} |
|
|
} |
|
|