YUKI Hiroshi
null+****@clear*****
Tue Nov 4 20:23:31 JST 2014
YUKI Hiroshi 2014-11-04 20:23:31 +0900 (Tue, 04 Nov 2014) New Revision: 66b5dacaffaaccf6d39450988aeea079e39b9fe2 https://github.com/droonga/express-droonga/commit/66b5dacaffaaccf6d39450988aeea079e39b9fe2 Message: Handle error on failing to execute express-droonga-report-live-engine-hosts correctly Modified files: lib/droonga-protocol/connection-pool.js Modified: lib/droonga-protocol/connection-pool.js (+1 -1) =================================================================== --- lib/droonga-protocol/connection-pool.js 2014-11-04 19:59:13 +0900 (0b9aece) +++ lib/droonga-protocol/connection-pool.js 2014-11-04 20:23:31 +0900 (8c3eccd) @@ -152,7 +152,7 @@ ConnectionPool.prototype = { '--tag=' + this._params.tag ].join(' '); exec(commandLine, function(error, stdin, stdout) { - if (!error) + if (error) return reject(error); resolve(stdin.trim().split('\n')); }); -------------- next part -------------- HTML����������������������������...下载