handle cmd error
This commit is contained in:
parent
94cca83670
commit
383d69c194
|
@ -153,6 +153,9 @@ GethCommands.prototype.mainCommand = function(address, done) {
|
|||
callback(null, "");
|
||||
}
|
||||
], function(err, results) {
|
||||
if (err) {
|
||||
throw new Error(err.message);
|
||||
}
|
||||
done(self.geth_bin + " " + results.join(" "));
|
||||
});
|
||||
};
|
||||
|
|
Loading…
Reference in New Issue