Skip to content

Commit

Permalink
worker: fix variable referencing in template string
Browse files Browse the repository at this point in the history
PR-URL: #33467
Reviewed-By: Anna Henningsen <[email protected]>
Reviewed-By: Richard Lau <[email protected]>
Reviewed-By: Luigi Pinca <[email protected]>
Reviewed-By: Colin Ihrig <[email protected]>
Reviewed-By: James M Snell <[email protected]>
Reviewed-By: Ruben Bridgewater <[email protected]>
  • Loading branch information
HarshithaKP authored and codebytere committed Jun 30, 2020
1 parent 2643b09 commit eff5737
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/internal/worker.js
Original file line number Diff line number Diff line change
Expand Up @@ -216,7 +216,7 @@ class Worker extends EventEmitter {
this[kDispose]();
if (customErr) {
debug(`[${threadId}] failing with custom error ${customErr} \
and with reason {customErrReason}`);
and with reason ${customErrReason}`);
this.emit('error', new errorCodes[customErr](customErrReason));
}
this.emit('exit', code);
Expand Down

0 comments on commit eff5737

Please sign in to comment.