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