This includes fixes for unhandled rejection reporting edge cases:
Where the array passed to when.all contains > 1 rejection, visit the remaining array items to ensure any further rejections are not reported. A rejection returned by when.all will still be reported if not handled.
Where promise.finally would unintentionally squelch unhandled rejection reporting by observing a rejection, and then transferring the rejection's handler to the returned promise.
This includes fixes for unhandled rejection reporting edge cases:
when.all
contains > 1 rejection, visit the remaining array items to ensure any further rejections are not reported. A rejection returned bywhen.all
will still be reported if not handled.promise.finally
would unintentionally squelch unhandled rejection reporting by observing a rejection, and then transferring the rejection's handler to the returned promise.