Skip to content

Commit 032c64f

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 281d7f7 commit 032c64f

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
@@ -215,7 +215,7 @@ class Worker extends EventEmitter {
215215
this[kDispose]();
216216
if (customErr) {
217217
debug(`[${threadId}] failing with custom error ${customErr} \
218-
and with reason {customErrReason}`);
218+
and with reason ${customErrReason}`);
219219
this.emit('error', new errorCodes[customErr](customErrReason));
220220
}
221221
this.emit('exit', code);

0 commit comments

Comments
 (0)