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

 

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

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

 

 

如图:

 

posted @ 2019-11-26 10:51  古兴越  阅读(1066)  评论(0)    收藏  举报