Skip to content
Browse files

Merge pull request #227 from f3ew/master

Stability fix
  • Loading branch information...
2 parents 81db702 + 324267c commit 3392f73e5852cf820a666b28ce8887f57cd24d00 @mrtazz mrtazz committed
Showing with 4 additions and 0 deletions.
  1. +4 −0 stats.js
View
4 stats.js
@@ -193,6 +193,10 @@ config.configFile(process.argv[2], function (config, oldConfig) {
mgmtServer = net.createServer(function(stream) {
stream.setEncoding('ascii');
+ stream.on('error', function(err) {
+ l.log('Caught ' + err +', Moving on')
+ });
+
stream.on('data', function(data) {
var cmdline = data.trim().split(" ");
var cmd = cmdline.shift();

0 comments on commit 3392f73

Please sign in to comment.
Something went wrong with that request. Please try again.