diff --git a/cmd/cmd_controller.js b/cmd/cmd_controller.js index f7d06ce5e..41ff8ce76 100644 --- a/cmd/cmd_controller.js +++ b/cmd/cmd_controller.js @@ -233,12 +233,7 @@ class EmbarkController { callback(err, true); }); } - ], function (err, canExit) { - if (err) { - engine.logger.error(err.message); - engine.logger.debug(err.stack); - } - + ], function (_err, canExit) { // TODO: this should be moved out and determined somewhere else if (canExit || !engine.config.contractsConfig.afterDeploy || !engine.config.contractsConfig.afterDeploy.length) { process.exit();