From 93be3e11cffef39dfa0561fd0b8f3546b131b41f Mon Sep 17 00:00:00 2001 From: DiegoVictor Date: Tue, 18 Jun 2024 18:50:55 -0300 Subject: [PATCH] Throw error --- src/migrations.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/migrations.js b/src/migrations.js index 8485d4f..6c74282 100644 --- a/src/migrations.js +++ b/src/migrations.js @@ -20,7 +20,7 @@ module.exports.handler = async () => { ); if (error) { - console.log(error.message, error.stack); + throw error; } console.log(output.toString()); };