Skip to content

Commit b794959

Browse files
HarshithaKPcodebytere
authored andcommitted
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>
1 parent 7c87fc1 commit b794959

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/internal/worker.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -216,7 +216,7 @@ class Worker extends EventEmitter {
216216
this[kDispose]();
217217
if (customErr) {
218218
debug(`[${threadId}] failing with custom error ${customErr} \
219-
and with reason {customErrReason}`);
219+
and with reason ${customErrReason}`);
220220
this.emit('error', new errorCodes[customErr](customErrReason));
221221
}
222222
this.emit('exit', code);

0 commit comments

Comments
 (0)