🐛 Add error message

This commit is contained in:
C-3PO 2018-09-14 06:25:59 +02:00
parent 822b7d3b2e
commit ce4850e852
Signed by: c3po
GPG key ID: 62993C4BB4D86F24

View file

@ -17,6 +17,8 @@ export default function taskManager(tasks: Array<() => Promise<void>>, maxConcur
curPromise.then(() => {
currentlyRunningTasks -= 1;
return startNewTask();
}).catch((error) => {
reject(error);
});
}
};