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

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

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

如图:

猜你喜欢

转载自www.cnblogs.com/guxingy/p/11933962.html
ABP