handle error on deploy all

This commit is contained in:
Iuri Matias 2016-10-30 19:28:45 -04:00
parent e44bd3a22e
commit df7ff3916f
1 changed files with 5 additions and 0 deletions

View File

@ -162,6 +162,11 @@ Deploy.prototype.deployAll = function(done) {
self.checkAndDeployContract(contract, null, callback);
},
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.trace(arguments);
done();