A
A
Alexander risok2019-02-10 16:23:10
JavaScript
Alexander risok, 2019-02-10 16:23:10

[NODE.JS request] How to catch error: read ECONNRESET?

Tell me how to catch error: read ECONNRESET, I use node js request, wrapping the request in a try catch does not help.
I use the library https://www.npmjs.com/package/request
I check the proxies from the list - some give an ECONNRESET error, and the program crashes.

Answer the question

In order to leave comments, you need to log in

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question