diff --git a/src/util/promise.ts b/src/util/promise.ts index 042b0de4..4e04293a 100644 --- a/src/util/promise.ts +++ b/src/util/promise.ts @@ -26,10 +26,10 @@ export async function runSequentially(promisers: Promiser[]): Promise result.push(value); } catch (err) { if (!err.result) { - throw err + throw err; } - result.push(err.result) + result.push(err.result); } }