Skip to content

Commit b794959

Browse files
HarshithaKPcodebytere
authored andcommitted
worker: fix variable referencing in template string
PR-URL: #33467 Reviewed-By: Anna Henningsen <[email protected]> Reviewed-By: Richard Lau <[email protected]> Reviewed-By: Luigi Pinca <[email protected]> Reviewed-By: Colin Ihrig <[email protected]> Reviewed-By: James M Snell <[email protected]> Reviewed-By: Ruben Bridgewater <[email protected]>
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

+1-1
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)