Unhandled rejection reasons (should be empty)

核能气质少年 提交于 2019-11-29 09:19:53

Based on this confusing discussion it's a false positive.

To silence the logging you can do this:

Q.stopUnhandledRejectionTracking();

If you didn't capture the rejection it would throw the error, so you'll still see it in the console after adding the code above. JSFiddle: http://jsfiddle.net/homeyer/FpyDr/22/

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!