小程序后台的错误日志,对于request中的错误,无法显示出来是在哪个页面,开发人员对于这类的错误信息无从下手。
如上图,错误信息的调用栈太深了,没有有用的信息。source map通过工具也没法解析,求助。
undefined is not an object (evaluating 's[0]');at api request success callback function
success@https://usr/app-service.js:5040:3920
https://lib/WASubContext.js:1:1178377
https://lib/WAServiceMainContext.js:1:119117
C@https://lib/WASubContext.js:1:398188
https://lib/WASubContext.js:1:720891
https://lib/WASubContext.js:1:447164
Yi@https://lib/WASubContext.js:1:721533
https://lib/WASubContext.js:1:722753
https://lib/WASubContext.js:1:476534
https://lib/WAServiceMainContext.js:1:216719
b@https://lib/WAServiceMainContext.js:1:1997
https://developers.weixin.qq.com/miniprogram/dev/devtools/sourcemap.html#sourceMap%20%E5%8C%B9%E9%85%8D%E8%B0%83%E8%AF%95