cluster: don't always kill the master on uncaughtException
authorBen Noordhuis <info@bnoordhuis.nl>
Tue, 17 Jan 2012 23:10:22 +0000 (00:10 +0100)
committerBen Noordhuis <info@bnoordhuis.nl>
Tue, 17 Jan 2012 23:45:02 +0000 (00:45 +0100)
commitd44ce9790948c69f0b9bc449f2488b30cd099105
tree5629f87ae77ca1b05d92bdc1a891c8dcbdea9267
parent091ab850aaca9591b3f77d57a55c3c78fc0b5442
cluster: don't always kill the master on uncaughtException

uncaughtException handlers installed by the user override the default one that
the cluster module installs, the one that kills off the master process.

Fixes #2556.
lib/cluster.js
test/simple/test-cluster-uncaught-exception.js [new file with mode: 0644]