Print errors in seed contract calls

This commit is contained in:
Basti 2019-04-04 15:25:31 +02:00
parent 197a31b9e1
commit 786f38cfb7
No known key found for this signature in database
GPG Key ID: BE4634D632D39B67

View File

@ -40,6 +40,7 @@ module.exports = async function(callback) {
next();
}).catch((error) => {
console.log(`[FAILED] kredits.${contractName}.${method}(${JSON.stringify(args)})`);
console.log(`Error: ${error.message}`);
next();
});
}, () => { console.log("\nDone!") });