thomasdondorf / puppeteer-cluster

Puppeteer Pool, run a cluster of instances in parallel
MIT License
3.24k stars 310 forks source link

Unable to Catch Errors Thrown in Worker Class #546

Open ZthStudy opened 1 month ago

ZthStudy commented 1 month ago

When using puppeteer-cluster, I've discovered that errors thrown within the Worker class, specifically the throw new Error('Unable to get browser page') error, are not being caught. This appears to be due to a lack of proper error handling in the worker.handle method.