Skip to content

Commit

Permalink
Merge pull request #50 from Narzerus/development
Browse files Browse the repository at this point in the history
Development
  • Loading branch information
Rafael Vidaurre authored and Rafael Vidaurre committed Jul 21, 2015
2 parents dfb64f0 + f1c55de commit d834610
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion job.js
Original file line number Diff line number Diff line change
Expand Up @@ -324,7 +324,11 @@ Job.prototype.__runTask = function (taskSpec) {
if (nextTaskSpec) {
taskRunning.then(function () {
_this.__runTask(nextTaskSpec);
}).done();
})
.fail(function () {
// Do nothing, this rejection is being handled in `__runExecutionBlock`'s Q.all call
})
.done();
}

_this.__events.emit('task:start', thisTask);
Expand Down

0 comments on commit d834610

Please sign in to comment.