uiux(@embark/deployment): improve error messages by logging contract name

Closes #1038
This commit is contained in:
Pascal Precht 2018-11-08 14:12:58 +01:00 committed by Pascal Precht
parent ea2a656ec1
commit 8997476e33
1 changed files with 1 additions and 1 deletions

View File

@ -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();