Skip to content

Commit

Permalink
[fix] Wrap parsing data from socket into try .. catch
Browse files Browse the repository at this point in the history
This fixes some weird error when you `forever start app.js`,
`forever stopall` and `forever list`. Seems like there's a socket
left behind which we can't remove and which responds with an empty
string.
  • Loading branch information
mmalecki authored and indexzero committed Dec 23, 2011
1 parent 85c4542 commit 55d96b2
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion lib/forever.js
Original file line number Diff line number Diff line change
Expand Up @@ -147,7 +147,6 @@ function getAllProcesses(callback) {
});

socket.on('close', tryParse);

socket.connect(fullPath);
}

Expand Down

0 comments on commit 55d96b2

Please sign in to comment.