mirror of
https://github.com/embarklabs/embark.git
synced 2025-02-21 09:58:30 +00:00
handle error on deploy all
This commit is contained in:
parent
e44bd3a22e
commit
df7ff3916f
@ -162,6 +162,11 @@ Deploy.prototype.deployAll = function(done) {
|
|||||||
self.checkAndDeployContract(contract, null, callback);
|
self.checkAndDeployContract(contract, null, callback);
|
||||||
},
|
},
|
||||||
function(err, results) {
|
function(err, results) {
|
||||||
|
if (err) {
|
||||||
|
self.logger.error("error deploying contracts");
|
||||||
|
self.logger.error(err.message);
|
||||||
|
self.logger.debug(err.stack);
|
||||||
|
}
|
||||||
self.logger.info("finished");
|
self.logger.info("finished");
|
||||||
self.logger.trace(arguments);
|
self.logger.trace(arguments);
|
||||||
done();
|
done();
|
||||||
|
Loading…
x
Reference in New Issue
Block a user