Skip to content

stream: improve inspector ergonomics

This fixes an issue where the inspector would consider a rejection from a promise created a while ago but rejected immediately.

I suspect this is because our unhandled rejection detection is based on when the promise is settled and V8's is based on when it is created. Arguably, ours is more correct.

I'm not sure how to test this, if anyone has any suggestions I'm all ears.

Fixes: https://github.com/nodejs/node/issues/53789

Merge request reports

Loading