mirror of
https://github.com/embarklabs/embark.git
synced 2025-01-11 14:24:24 +00:00
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…
x
Reference in New Issue
Block a user