mirror of
https://github.com/nodejs/node.git
synced 2026-11-29 14:27:57 -05:00
worker: fix variable referencing in template string
PR-URL: https://github.com/nodejs/node/pull/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>
This commit is contained in:
1 parent
7a2c67cf53
commit
10596b601e
1 file changed
+1
-1
@@ -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);
|
||||
|
||||
Reference in new issue
Block a user