Open fhahne opened 8 years ago
+1 I am also getting similar errors. What is the correct strategy for adding an error handler to address these econnreset errors? Also, any suggestions what the cause could be?
can you do something like
require('nano')({
request: function () {
// request wrapper with special handling
}
})
This repository has been merged into apache/couchdb-nano, please continue the discussion here
I may be missing something here, but it seems that nano is not handling ECONNRESET errors, or other sorts of socket hangups. I assume that one would want to attach an error listener to the request object in order to do so. Since that is all encapsulated in the module I am not quite sure how to archive that. Any suggestions?