We get an UnhandledPromiseRejectionWarning if the browser crashes while scraping a page.
This can be induced by attempting to crawl the page chrome://kill, but it can also happen in real-world scenarios, such as the machine not having enough memory.
It is currently not possible to programmatically handle such errors, be it by using Promise.catch or try/catch.
We get an
UnhandledPromiseRejectionWarning
if the browser crashes while scraping a page.This can be induced by attempting to crawl the page
chrome://kill
, but it can also happen in real-world scenarios, such as the machine not having enough memory.It is currently not possible to programmatically handle such errors, be it by using
Promise.catch
ortry/catch
.