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 <anna@addaleax.net>
Reviewed-By: Richard Lau <riclau@uk.ibm.com>
Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
Reviewed-By: James M Snell <jasnell@gmail.com>
Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de>
  • Loading branch information
HarshithaKP authored and codebytere committed Jun 18, 2020
1 parent 7c87fc1 commit b794959
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 b794959

Please sign in to comment.