joyent/node — Issue #2582: Remove process.on("uncaughtException", ...) handler
Author: felixge
Created: 2012-01-20 13:00:24+00:00
State: open

I propose that we get rid of this feature. So far I have seen nothing but bad things coming out of this, as it is entirely unsafe to continue the execution of a node program if the stack has been ripped at a random place.

People are also under the illusion that it is possible to trace back such an exception to the http request that caused it, because the express error handler does some magic that pretends it can handle this.

So as soon as Domains land, I think we should no longer allow a global exception handler.

Also: Mea culpa, I pushed for this being included initially.