very possible code path
This commit is contained in:
+1
-1
@@ -234,7 +234,7 @@ async function startBoxUpdateTask(options, auditSource) {
|
||||
|
||||
// background
|
||||
tasks.startTask(taskId, { timeout: 20 * 60 * 60 * 1000 /* 20 hours */, nice: 15, memoryLimit })
|
||||
.then(() => debug('startBoxUpdateTask: internal error. impossible code path'))
|
||||
.then(() => debug('startBoxUpdateTask: update task completed'))
|
||||
.catch(async (error) => {
|
||||
debug('Update failed with error. %o', error);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user