可以在httpmodule中捕获异常并记录

 

Exception ex = context.Server.GetLastError().InnerException;
 if (ex == null) ex = context.Server.GetLastError();
//HttpContext.Current.Response.Write((ex==null).ToString());
//HttpContext.Current.ClearError();

应该将内联异常一并处理

相关文章:

  • 2022-12-23
  • 2021-05-26
  • 2022-12-23
  • 2022-02-25
  • 2022-01-01
  • 2022-12-23
  • 2022-12-23
猜你喜欢
  • 2021-11-04
  • 2022-12-23
  • 2022-12-23
  • 2021-12-05
  • 2021-08-31
  • 2022-12-23
  • 2021-11-17
相关资源
相似解决方案