add error catching
This commit is contained in:
parent
a1ad463140
commit
11cdaad226
4
dist/taskbuffer.classes.helpers.js
vendored
4
dist/taskbuffer.classes.helpers.js
vendored
File diff suppressed because one or more lines are too long
@ -72,6 +72,8 @@ export let runTask = function (taskArg: Task, optionsArg: {x?, touchedTasksArray
|
|||||||
})
|
})
|
||||||
.then(x => {
|
.then(x => {
|
||||||
done.resolve(x);
|
done.resolve(x);
|
||||||
|
}).catch((err) => {
|
||||||
|
console.log(err);
|
||||||
});
|
});
|
||||||
localDeferred.resolve();
|
localDeferred.resolve();
|
||||||
return done.promise;
|
return done.promise;
|
||||||
|
Loading…
Reference in New Issue
Block a user