diff --git a/lib/modules/contracts_manager/index.js b/lib/modules/contracts_manager/index.js index 922e9f40d..137e5b706 100644 --- a/lib/modules/contracts_manager/index.js +++ b/lib/modules/contracts_manager/index.js @@ -296,6 +296,7 @@ class ContractsManager { if (err) { self.compileError = true; self.events.emit("status", __("Compile/Build error")); + self.events.emit("outputError", __("Error building Dapp, please check console")); self.logger.error(__("Error Compiling/Building contracts: ") + err); }else{ self.compileError = false; diff --git a/lib/modules/deployment/index.js b/lib/modules/deployment/index.js index 2b046542c..210af369a 100644 --- a/lib/modules/deployment/index.js +++ b/lib/modules/deployment/index.js @@ -86,6 +86,7 @@ class DeployManager { if (errors.length) { _err = __("Error deploying contracts. Please fix errors to continue."); self.logger.error(_err); + self.events.emit("outputError", __("Error deploying contracts, please check console")); return done(_err); } if (contracts.length === 0) {