Results 788 comments of Benjamin Gruenbaum

@hastebrot just wondering, would you be using this for AsyncLocalStorage or for APMs/context tracking?

I'm trying to understand your expectation of why node shouldn't log an error here since there _is_ a promise chain in your example without a `catch` attached and there is...

@trusktr > Is there some way improve Node.js for it to realize when such code is ok? In your particular case the code is _not_ ok since `.then(someFn)` creates a...

> I'm seeing a similar issue here, on node v18.7.0. Right and as in the original post this is intended behavior. Rejected promises need to be handled before I/O (like...

> Right, so just to make sure I'm clear there, the fix would look like this: Correct, in bluebird we had an explicit ".suppressUnhandledRejection" - as Ruben said Node has...

So basically, ideally you'd want us to add some text if the process exits due to an unhandled rejection like we used to have to log before we exit? @BridgeAR...

I think given we've had source-map support adding a better/nicer API for this (that tools like nyc can extend and build on) is a pretty reasonable ask. I'm not sure...

So basically the ask is: > --coverage Run with code coverage enabled > --coverage-output= the place to put the C8 style coverage json results This is to add flag options...

When I opened a PR to not keep the stat cache on failure it was rejected in the past https://github.com/nodejs/node/pull/31921

see https://github.com/nodejs/node/issues/31803 for prior discussion