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 Jul 8, 2020
1 parent 281d7f7 commit 032c64f
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 @@ -215,7 +215,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 032c64f

Please sign in to comment.