在定义云引擎的时候调用response.error方法总会报错,栈差不多都如下
uncaughtException url=*****, msg=TypeError: Cannot read property '_resolved' of undefined
at .extend.reject (/***/nodemodules/avoscloud-sdk/lib/promise.js:341:13)
at wrappedRejectedCallback (/***/node_modules/avoscloud-sdk/lib/promise.js:416:21)
at /***/node_modules/avoscloud-sdk/lib/promise.js:348:7
at Function..each..forEach (/***/node_modules/underscore/underscore.js:153:9)
看了下库的代码好像是promise相关的问题,有时候会报在reject或resolve之前已经reject和resolve,不过从代码逻辑上来看应该不会发生的,求支援一下。。