X-Git-Url: https://git.piment-noir.org/?a=blobdiff_plain;f=examples%2Ftypescript%2Fhttp-server-pool%2Ffastify-hybrid%2Fsrc%2Fmain.ts;h=fea592c4b180291e68c50b8844ae0f6e3d1eb290;hb=2189745ca80fa460ff6bc0e81b4d47d48c910bcb;hp=b2174e07bec4cc4b5ff54b07eedd0e1e8452efd9;hpb=ea4b5fd037c5fe09eb6a2810332ad6bed1b5bc7f;p=poolifier.git diff --git a/examples/typescript/http-server-pool/fastify-hybrid/src/main.ts b/examples/typescript/http-server-pool/fastify-hybrid/src/main.ts index b2174e07..fea592c4 100644 --- a/examples/typescript/http-server-pool/fastify-hybrid/src/main.ts +++ b/examples/typescript/http-server-pool/fastify-hybrid/src/main.ts @@ -45,7 +45,7 @@ const pool = new FixedClusterPool( } return undefined }) - .catch(error => { + .catch((error: unknown) => { console.error('Fastify failed to start in cluster worker:', error) }) },