mirror of
https://github.com/embarklabs/embark.git
synced 2025-01-24 12:40:21 +00:00
Remove unneeded logger.error
The pipeline and the deployer/compiler display the error themselves
This commit is contained in:
parent
6fc956b318
commit
e593ba5e42
@ -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();
|
||||
|
Loading…
x
Reference in New Issue
Block a user