Details
-
Bug
-
Resolution: Fixed
-
Major
-
None
-
None
-
None
Description
When errors are thrown by the callback being invoked as can be seen here...
https://github.com/couchbase/couchnode/blob/v2.2.2/lib/clustermgr.js#L160-L166
... the callback will be called again, with the error it threw. IMHO, user land callbacks should not be called from a try-block. As discussed on IRC with Brett.
Attachments
For Gerrit Dashboard: JSCBC-329 | ||||||
---|---|---|---|---|---|---|
# | Subject | Branch | Project | Status | CR | V |
68335,3 | JSCBC-329: Do not invoke callbacks within try block. | master | couchnode | Status: MERGED | +2 | +1 |