From 786f38cfb780ed7957ba4d62c96539c03c2993c9 Mon Sep 17 00:00:00 2001 From: Sebastian Kippe Date: Thu, 4 Apr 2019 15:25:31 +0200 Subject: [PATCH] Print errors in seed contract calls --- scripts/seeds.js | 1 + 1 file changed, 1 insertion(+) diff --git a/scripts/seeds.js b/scripts/seeds.js index 15c5e6b..7115ae2 100644 --- a/scripts/seeds.js +++ b/scripts/seeds.js @@ -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!") });