Handle thrown error in resolved promise
khjrtbrg opened this issue · 0 comments
khjrtbrg commented
RSVP.Promise.resolve()
.then(function() {
throw new Error();
}).catch(function(e) {
console.log(e);
});
RSVP library propagates thrown errors in resolved promises, however in tests, this throws an error.