mirror of https://github.com/embarklabs/embark.git
uiux(@embark/deployment): improve error messages by logging contract name
Closes #1038
This commit is contained in:
parent
ea2a656ec1
commit
8997476e33
|
@ -65,7 +65,7 @@ class DeployManager {
|
|||
self.events.request('deploy:contract', contract, (err) => {
|
||||
if (err) {
|
||||
contract.error = err.message || err;
|
||||
self.logger.error(err.message || err);
|
||||
self.logger.error(`[${contract.className}]: ${err.message || err}`);
|
||||
errors.push(err);
|
||||
}
|
||||
callback();
|
||||
|
|
Loading…
Reference in New Issue