Browse Source

修改首页报错方法

master
lvzb 1 year ago
parent
commit
469402e8ee
  1. 2
      SCP/Global.asax.cs

2
SCP/Global.asax.cs

@ -73,7 +73,7 @@ namespace SCP
{
String errorCode = Guid.NewGuid().ToString();
String errorMsg = objExp.InnerException == null ? objExp.GetBaseException().Message : objExp.InnerException.Message;
String errorMsg = objExp.InnerException == null ? objExp.GetBaseException().Message : objExp.InnerException.Message+ objExp.InnerException.StackTrace;
HttpContext.Current.Server.ClearError();

Loading…
Cancel
Save