log signal as well

v1.18.x
barisusakli 11 years ago
parent f19bc2e2be
commit 50a06f9369

@ -161,7 +161,7 @@ Loader.addClusterEvents = function(callback) {
} }
} }
console.log('[cluster] Child Process (' + worker.process.pid + ') has exited (code: ' + code + ')'); console.log('[cluster] Child Process (' + worker.process.pid + ') has exited (code: ' + code + ', signal: ' + signal +')');
if (!worker.suicide) { if (!worker.suicide) {
console.log('[cluster] Spinning up another process...'); console.log('[cluster] Spinning up another process...');

Loading…
Cancel
Save