couchdb-nano
couchdb-nano copied to clipboard
callback javascript errors instead of objects
Overview
When using the callback api, if the connection fails, an object is returned (callback) instead of an error. Why is this a problem: because the error will not have a stack trace.
Testing recommendations
Checklist
- [x ] Code is written and works correctly;
- N/A Changes are covered by tests;
- N/A Documentation reflects the changes;