Skip to content

Commit

Permalink
[fix] Fix unhandled error event in forever stopall
Browse files Browse the repository at this point in the history
  • Loading branch information
mmalecki committed May 4, 2012
1 parent 49c2c47 commit 5d21f97
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions lib/forever/cli.js
Expand Up @@ -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');
});
});

//
Expand Down

0 comments on commit 5d21f97

Please sign in to comment.