Skip to content
Permalink
Browse files
worker: fix variable referencing in template string
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 b79495905f2f85393faed9707f85ae7944199cdc
Showing with 1 addition and 1 deletion.
  1. +1 −1 lib/internal/worker.js
@@ -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);

0 comments on commit b794959

Please sign in to comment.