couchdb-nano icon indicating copy to clipboard operation
couchdb-nano copied to clipboard

callback javascript errors instead of objects

Open revington opened this issue 3 years ago • 0 comments

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;

revington avatar Aug 08 '22 09:08 revington