无法捕获的错误

作者: ehystiv创建于 2020年1月27日更新于 2020年12月9日

当我尝试连接很多次时,有时会出现以下错误: `error: CRAWLER Error Error: ESOCKETTIMEDOUT when fetching http://adomain.com/post/3427` 我该如何捕获此错误? 我的 try/catch 都没有捕获到此错误

内容来源: bda-research/node-crawler