1
0
Fork 0
forked from svrjs/svrjs

Convert one more string to template string

This commit is contained in:
Dorian Niemiec 2024-09-01 09:51:29 +02:00
parent 39a96cb339
commit 519c80f397

View file

@ -1482,10 +1482,7 @@ function SVRJSFork() {
newWorker.on("error", (err) => { newWorker.on("error", (err) => {
if (!exiting) if (!exiting)
serverconsole.locwarnmessage( serverconsole.locwarnmessage(
"There was a problem when handling " + `There was a problem when handling ${name} worker! (from master process side) Reason: ${err.message}`,
name +
" worker! (from master process side) Reason: " +
err.message,
); );
}); });
newWorker.on("exit", () => { newWorker.on("exit", () => {