throw errors in utils and helpers

This commit is contained in:
Viet Huynh
2023-11-19 17:48:37 +07:00
parent 70a2dfa89f
commit b364df7864
3 changed files with 8 additions and 0 deletions
+1
View File
@@ -38,6 +38,7 @@ const downloadLists = async (filename, urls) => {
} catch (err) {
console.error(`An error occurred while processing ${filename}:\n`, err);
console.error("URLs:\n", urls);
throw err;
}
};