capture-website
capture-website copied to clipboard
UnhandledPromiseRejectionWarning: Error: Page crashed!
Hi,
Thank you for the awesome package. This has been great so far.
I have encountered an issue on a production server: UnhandledPromiseRejectionWarning: Error: Page crashed! which is coming from Puppeteer.
From what I have read, the code below would help mitigate the issue, but I am not sure how to implement this with capture-website:
page.on('error', error => reject(error));
Could you point me in the right direction please?