Skip to content

Commit

Permalink
Handle error on failing to execute express-droonga-report-live-engine…
Browse files Browse the repository at this point in the history
…-hosts correctly
  • Loading branch information
piroor committed Nov 4, 2014
1 parent 6b7eada commit 66b5dac
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/droonga-protocol/connection-pool.js
Original file line number Diff line number Diff line change
Expand Up @@ -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'));
});
Expand Down

0 comments on commit 66b5dac

Please sign in to comment.