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=07f6f7b1e15f8bd59eb4ce4cd9aeea1767434df8;hp=b2174e07bec4cc4b5ff54b07eedd0e1e8452efd9;hpb=1bbea1bc234785d741e62985e0ffb52aafa458d7;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) }) },