Exit script if a chunk failed to load

This commit is contained in:
Nuckyz 2024-05-23 19:54:40 -03:00
parent bdd4b0f143
commit bd95cc449f
No known key found for this signature in database
GPG key ID: 440BF8296E1C4AD9

View file

@ -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)))
)
);