From bd95cc449f7e6e39fb37449520418f2c1f1e8238 Mon Sep 17 00:00:00 2001 From: Nuckyz <61953774+Nuckyz@users.noreply.github.com> Date: Thu, 23 May 2024 19:54:40 -0300 Subject: [PATCH] Exit script if a chunk failed to load --- scripts/generateReport.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/generateReport.ts b/scripts/generateReport.ts index 9026ee788..2035ead09 100644 --- a/scripts/generateReport.ts +++ b/scripts/generateReport.ts @@ -386,7 +386,7 @@ async function runtime(token: string) { await Promise.all( Array.from(validChunkGroups) .map(([chunkIds]) => - Promise.all(chunkIds.map(id => wreq.e(id).catch(() => { }))) + Promise.all(chunkIds.map(id => wreq.e(id))) ) );