X-Git-Url: https://git.piment-noir.org/?a=blobdiff_plain;f=examples%2Ftypescript%2Fhttp-server-pool%2Ffastify-worker_threads%2Fsrc%2Fmain.ts;h=cc647a0fd2a707916999b6521096e298f872837d;hb=b6c4275e5043680f6e22d7c02ce22d0f6980f684;hp=7db0b5196d973b98b51e6ac37dea5d12af9bbbf1;hpb=d2bc8d8026164b1389822feced0f42af20552176;p=poolifier.git diff --git a/examples/typescript/http-server-pool/fastify-worker_threads/src/main.ts b/examples/typescript/http-server-pool/fastify-worker_threads/src/main.ts index 7db0b519..cc647a0f 100644 --- a/examples/typescript/http-server-pool/fastify-worker_threads/src/main.ts +++ b/examples/typescript/http-server-pool/fastify-worker_threads/src/main.ts @@ -24,7 +24,7 @@ await fastify.register(fastifyPoolifier, { concurrency: 8 }, errorHandler: (e: Error) => { - fastify.log.error(e) + fastify.log.error('Thread worker error:', e) } })