X-Git-Url: https://git.piment-noir.org/?a=blobdiff_plain;f=examples%2Ftypescript%2Fhttp-server-pool%2Fexpress-hybrid%2Fsrc%2Fmain.ts;h=08563f4b2e753cefa3a331e9d0193be2a809f526;hb=d19b4c0b7d134abfd506eb1745dfb51183f4fec6;hp=838c6e26ed448959a22129b5435482bce7476a25;hpb=d0ed34c9a6f9896c16b1b963e87217bbf75f3393;p=poolifier.git diff --git a/examples/typescript/http-server-pool/express-hybrid/src/main.ts b/examples/typescript/http-server-pool/express-hybrid/src/main.ts index 838c6e26..08563f4b 100644 --- a/examples/typescript/http-server-pool/express-hybrid/src/main.ts +++ b/examples/typescript/http-server-pool/express-hybrid/src/main.ts @@ -34,7 +34,7 @@ const pool = new FixedClusterPool( console.error('Thread worker error:', e) } }) - .then((response) => { + .then(response => { if (response.status) { console.info( // eslint-disable-next-line @typescript-eslint/restrict-template-expressions @@ -43,7 +43,7 @@ const pool = new FixedClusterPool( } return null }) - .catch((error) => { + .catch(error => { console.error('Express failed to start in cluster worker:', error) }) },