diff --git a/lib/contracts/contracts.js b/lib/contracts/contracts.js index 5a544d3a..f53d5fd5 100644 --- a/lib/contracts/contracts.js +++ b/lib/contracts/contracts.js @@ -267,6 +267,8 @@ class ContractsManager { self.compileError = true; self.events.emit("status", __("Compile/Build error")); self.logger.error(__("Error Compiling/Building contracts: ") + err); + }else{ + self.compileError = false; } self.logger.trace("finished".underline); done(err, self);