apptask: asyncify

This commit is contained in:
Girish Ramakrishnan
2021-09-16 13:59:03 -07:00
parent b5539120f1
commit 9a2ed4f2c8
9 changed files with 505 additions and 744 deletions

View File

@@ -92,7 +92,7 @@ async.series([
if (updateError) return exitSync({ error: updateError, code: 50 });
const progressCallback = async function (progress, callback) {
await safe(tasks.update(taskId, progress));
await safe(tasks.update(taskId, progress), { debug });
if (callback) callback();
};