GitHub user tonysun83 opened a pull request:
https://github.com/apache/couchdb-fabric/pull/87
Add Else Clause For Embed Doc
When open_doc or open_revs return an error, we set the doc value
to be an error message. This way we account for errors rather than
transform_row throwing a function_clause.
This PR will not be merged until
https://github.com/apache/couchdb-fabric/pull/86 is merged.
Another PR for chttpd will contain end-to-end tests that will cover the
testing for this PR.
COUCHDB-3109
You can merge this pull request into a Git repository by running:
$ git pull https://github.com/cloudant/couchdb-fabric 68661-embed-doc-error
Alternatively you can review and apply these changes as the patch at:
https://github.com/apache/couchdb-fabric/pull/87.patch
To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:
This closes #87
----
commit 3a8c71485893706e539ba51891a7785ffa0a82e7
Author: Tony Sun <[email protected]>
Date: 2017-02-01T04:47:13Z
Add Else Clause For Embed Doc
When open_doc or open_revs return an error, we set the doc value
to be an error message. This way we account for errors rather than
transform_row throwing a function_clause.
COUCHDB-3109
----
---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at [email protected] or file a JIRA ticket
with INFRA.
---