taskworker: add debug

This commit is contained in:
Girish Ramakrishnan
2024-12-16 15:17:35 +01:00
parent 3728d8ecc1
commit d2e3b80517

View File

@@ -103,6 +103,7 @@ async function main() {
}
try {
debug(`Running task of type ${task.type}`);
const [runError, result] = await safe(TASKS[task.type].apply(null, task.args.concat(progressCallback)));
const progress = {
result: result || null,