Skip to content

Commit eff5737

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 2643b09 commit eff5737

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)