diff --git a/src/index.mjs b/src/index.mjs index 73d8e21..fdedb20 100644 --- a/src/index.mjs +++ b/src/index.mjs @@ -211,6 +211,7 @@ importSite(parseInt(SITE_ID)) .catch((e) => { console.log(e); console.log("\n❌ Error\n"); + throw e; }) .finally(() => { targetDB.destroy();