Remove unneeded logger.error

The pipeline and the deployer/compiler display
the error themselves
This commit is contained in:
Anthony Laibe 2018-09-27 14:08:39 +01:00 committed by Pascal Precht
parent 6fc956b318
commit e593ba5e42
No known key found for this signature in database
GPG Key ID: 0EE28D8D6FD85D7D
1 changed files with 1 additions and 6 deletions

View File

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