diff --git a/lib/deploy.js b/lib/deploy.js index f048217c..4b43bcd6 100644 --- a/lib/deploy.js +++ b/lib/deploy.js @@ -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();