mirror of
https://github.com/embarklabs/embark.git
synced 2025-01-10 22:05:55 +00:00
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…
x
Reference in New Issue
Block a user