don't log intermediate uncaught promise errors in request
This commit is contained in:
parent
04b860cefc
commit
65ef101aff
4 changed files with 5 additions and 5 deletions
|
|
@ -18,7 +18,7 @@ module.exports = function($window, Promise) {
|
|||
var next = then.apply(promise, arguments)
|
||||
next.then(complete, function(e) {
|
||||
complete()
|
||||
throw e
|
||||
if (count === 0) throw e
|
||||
})
|
||||
return finalize(next)
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue