feat: add fastify hybrid pools example
[poolifier.git] / examples / typescript / http-client-pool / src / pool.ts
index f1306adfdbf06b05cf3830c0e229e97c616a2a0b..3d64150a8af14c161c4a005a044ad2b003bacad0 100644 (file)
@@ -18,7 +18,7 @@ export const httpClientPool = new DynamicThreadPool<WorkerData, WorkerResponse>(
       concurrency: 8
     },
     errorHandler: (e: Error) => {
-      console.error(e)
+      console.error('Thread worker error:', e)
     }
   }
 )