glynnbird commented on PR #358:
URL: https://github.com/apache/couchdb-nano/pull/358#issuecomment-3291283112

   Actually if we got with: 
   
   ```
   response.message || response.cause.toString()
   ```
   
   then Node errors always get "fetch failed" which is not a great error 
message, not as good as ` Error: connect ECONNREFUSED 127.0.0.1:9999`
   
   what about
   
   ```js
   response.cause ? response.cause.toString() : response.message
   ```
   
   instead?


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: notifications-unsubscr...@couchdb.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org

Reply via email to