Print errors in seed contract calls
This commit is contained in:
parent
197a31b9e1
commit
786f38cfb7
@ -40,6 +40,7 @@ module.exports = async function(callback) {
|
|||||||
next();
|
next();
|
||||||
}).catch((error) => {
|
}).catch((error) => {
|
||||||
console.log(`[FAILED] kredits.${contractName}.${method}(${JSON.stringify(args)})`);
|
console.log(`[FAILED] kredits.${contractName}.${method}(${JSON.stringify(args)})`);
|
||||||
|
console.log(`Error: ${error.message}`);
|
||||||
next();
|
next();
|
||||||
});
|
});
|
||||||
}, () => { console.log("\nDone!") });
|
}, () => { console.log("\nDone!") });
|
||||||
|
Loading…
x
Reference in New Issue
Block a user