diff --git a/limestone.js b/limestone.js index ee32877..cb21e2d 100644 --- a/limestone.js +++ b/limestone.js @@ -140,6 +140,10 @@ exports.SphinxClient = function() { response_output = null; //var promise = new process.Promise(); + + server_conn.addListener('error', function(e) { + callback(e); + }); server_conn.addListener('connect', function () {