在这个类:MyABP.Web.Startup.MyABPWebMvcModule 中 的 PreInitialize 方法 添加一句:

Configuration.Modules.AbpWebCommon().SendAllExceptionsToClients = true;//向前端返回完整错误日志

 

 

如图:

ABP 往前端返回详细的错误信息

 

分类:

技术点:

相关文章: