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 BridgeAR committed May 23, 2020
1 parent 7a2c67c commit 10596b6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/internal/worker.js
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 10596b6

Please sign in to comment.