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