Possibly unhandled rejection in Angular 1.6

前端 未结 9 1569
轻奢々
轻奢々 2020-12-06 04:31

I have a code with AngularJS:

service.doSomething()
  .then(function(result) {
      //do something with the result
  });

In AngularJS 1.5.

9条回答
  •  予麋鹿
    予麋鹿 (楼主)
    2020-12-06 05:03

    This has been fixed with fix($q): Add traceback to unhandled promise rejections -- Commit 316f60f and the fix is included in the v1.6.1 release.

提交回复
热议问题