don't log intermediate uncaught promise errors in request

This commit is contained in:
Leo Horie 2016-12-07 11:22:59 -05:00
parent 04b860cefc
commit 65ef101aff
4 changed files with 5 additions and 5 deletions

View file

@ -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)
}