Signed-off-by: Alex A. Naanou <alex.nanou@gmail.com>
This commit is contained in:
Alex A. Naanou 2020-12-02 01:19:42 +03:00
parent 87127ab25f
commit 0454440c37

View File

@ -254,7 +254,8 @@ object.Constructor('Queue', Array, {
// promise result...
// XXX is the err test here needed???
err === undefined
res
&& err === undefined
&& res.catch
&& res.catch(function(err){
that.trigger('taskFailed', task, err) })