joyent/node — Issue #2556: Crash if exception was thrown  in cluster "master".
Author: DenisRechkunov
Created: 2012-01-17 15:17:39+00:00
State: open

I use exceptions for logging any errors in my code, but if I catch errors like this:

process.on('uncaughtException', function (error) {
logger.error(error);
});

and then use cluster, my server crashes if exception was thrown in "master" (but logger write message).

Can I catch errors in "master" as exceptions and don't crash cluster?