You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Expected behavior:
No "Unhandled rejection" message should be printed.
Actual behavior:
An "Unhandled rejection" error gets printed:
did throw
Unhandled Rejection at: Promise {
<rejected> Error: sink error
at /testcase/index.js:15:14
at Object.<anonymous> (/testcase/index.js:23:3)
at Module._compile (internal/modules/cjs/loader.js:1063:30)
at Object.Module._extensions..js (internal/modules/cjs/loader.js:1092:10)
at Module.load (internal/modules/cjs/loader.js:928:32)
at Function.Module._load (internal/modules/cjs/loader.js:769:14)
at Function.executeUserEntryPoint [as runMain] (internal/modules/run_main.js:72:12)
at internal/main/run_main_module.js:17:47
} reason: Error: sink error
at /testcase/index.js:15:14
at Object.<anonymous> (/testcase/index.js:23:3)
at Module._compile (internal/modules/cjs/loader.js:1063:30)
at Object.Module._extensions..js (internal/modules/cjs/loader.js:1092:10)
at Module.load (internal/modules/cjs/loader.js:928:32)
at Function.Module._load (internal/modules/cjs/loader.js:769:14)
at Function.executeUserEntryPoint [as runMain] (internal/modules/run_main.js:72:12)
at internal/main/run_main_module.js:17:47
Additional information:
I think the root cause is here, where a rejected promise gets created, but not immediately returned to some caller. The fix is simple, but I'm having a hard time reproducing it in a test.
The text was updated successfully, but these errors were encountered:
IxJS version: 4.2.0
Code to reproduce:
Expected behavior:
No "Unhandled rejection" message should be printed.
Actual behavior:
An "Unhandled rejection" error gets printed:
Additional information:
I think the root cause is here, where a rejected promise gets created, but not immediately returned to some caller. The fix is simple, but I'm having a hard time reproducing it in a test.
The text was updated successfully, but these errors were encountered: