Skip to content

Commit 0874039

Browse files
authored
fix: collect errors in utils/parallel (#3933)
1 parent 67b43f2 commit 0874039

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/utils/parallel.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,7 @@ export async function runParallel<T>(
2121
.then(() => cb(route))
2222
.catch((error) => {
2323
console.error(error);
24+
errors.push(error);
2425
});
2526

2627
tasks.add(task);

0 commit comments

Comments
 (0)