Closed andysprout closed 8 years ago
In this example https://tonicdev.com/570b58feacaa9d11003f795b/570b58feacaa9d11003f795c
promise.resolve() .then(() => {throw new Error()}) .catch(() => 'no error') .then(a => console.log(a));
the catch method successfully catches the error and returns 'no error' which is passed to the final then.
catch
'no error'
then
Before this diff, the second then would not be called.
Thanks. I'll take a look at this today.
Merge in 9a0d8fd
In this example https://tonicdev.com/570b58feacaa9d11003f795b/570b58feacaa9d11003f795c
the
catch
method successfully catches the error and returns'no error'
which is passed to the finalthen
.Before this diff, the second
then
would not be called.