-
Notifications
You must be signed in to change notification settings - Fork 3k
Closed
Description
Been tracking down this tricky bug that was causing some real-world pain 😢
RxJS version: 5.3.1 & 5.4.3
Code to reproduce:
Runnable version here.
Observable.of(0, Scheduler.async)
.mergeMap(() =>
Observable.combineLatest(Observable.of(0))
)
.subscribe(() => { throw new Error('uh oh'); });
Expected behavior:
Error is re-thrown asynchronously and can be handled by normal uncaught exception means. (window.onerror
, uncaughtException
).
Actual behavior:
Error gets swallowed.
Additional information:
combineLatest
seems to be involved here—if you get rid of it, the example behaves as expected.
willydee, c-stoeckl, thetechnick, ccqgithub, joeblynch and 3 moreiMarv, thetechnick, willydee and hiepxanh
Metadata
Metadata
Assignees
Labels
No labels