From 5d21f97acbb81d723501b3e5171699c8da6080bf Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Maciej=20Ma=C5=82ecki?= Date: Fri, 4 May 2012 13:42:07 +0200 Subject: [PATCH] [fix] Fix unhandled `error` event in `forever stopall` --- lib/forever/cli.js | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/lib/forever/cli.js b/lib/forever/cli.js index fbe3b256..218d7970 100644 --- a/lib/forever/cli.js +++ b/lib/forever/cli.js @@ -268,6 +268,10 @@ app.cmd('stopall', cli.stopall = function () { forever.log.info('No forever processes running'); } }); + + runner.on('error', function () { + forever.log.info('No forever processes running'); + }); }); //