Skip to content

Commit df7ff39

Browse files
committed
handle error on deploy all
1 parent e44bd3a commit df7ff39

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

lib/deploy.js

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -162,6 +162,11 @@ Deploy.prototype.deployAll = function(done) {
162162
self.checkAndDeployContract(contract, null, callback);
163163
},
164164
function(err, results) {
165+
if (err) {
166+
self.logger.error("error deploying contracts");
167+
self.logger.error(err.message);
168+
self.logger.debug(err.stack);
169+
}
165170
self.logger.info("finished");
166171
self.logger.trace(arguments);
167172
done();

0 commit comments

Comments
 (0)