diff --git a/commands/call.js b/commands/call.js index 35cb6234..e7cfee10 100644 --- a/commands/call.js +++ b/commands/call.js @@ -70,10 +70,8 @@ async function scheduleFunctionCall(options) { handleExceededThePrepaidGasError(error, options); break; } - default: { - console.log(error); - } } + throw error; } }