Skip to content

Commit

Permalink
fix(ws): report errors returned by hooks (#2783)
Browse files Browse the repository at this point in the history
  • Loading branch information
hassy authored May 27, 2024
1 parent 8d8d125 commit 0fdade8
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions packages/core/lib/engine_ws.js
Original file line number Diff line number Diff line change
Expand Up @@ -343,6 +343,7 @@ WSEngine.prototype.compile = function (tasks, scenarioSpec, ee) {

async.waterfall(steps, function scenarioWaterfallCb(err, context) {
if (err) {
ee.emit('error', err.code || err.message);
debug(err);
}

Expand Down

0 comments on commit 0fdade8

Please sign in to comment.