diff --git a/src/ssn/patcher-installer/taskManager.ts b/src/ssn/patcher-installer/taskManager.ts index b145b35..3e51068 100644 --- a/src/ssn/patcher-installer/taskManager.ts +++ b/src/ssn/patcher-installer/taskManager.ts @@ -17,6 +17,8 @@ export default function taskManager(tasks: Array<() => Promise>, maxConcur curPromise.then(() => { currentlyRunningTasks -= 1; return startNewTask(); + }).catch((error) => { + reject(error); }); } };