GitHub user eiri opened a pull request:
https://github.com/apache/couchdb-couch/pull/224
Don't crash on unexpected validation's error type
Validation function can throw JSON with error type different than forbidden
or unauthorized.
This patch makes couch return unknown_error instead of crashing query
server.
COUCHDB-3286
You can merge this pull request into a Git repository by running:
$ git pull https://github.com/cloudant/couchdb-couch
82197-fix-validation_func-case_clause
Alternatively you can review and apply these changes as the patch at:
https://github.com/apache/couchdb-couch/pull/224.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 #224
----
commit 6412412ce76e42adb7b1f899f7eebc704b8d6416
Author: Eric Avdey <[email protected]>
Date: 2017-01-30T19:27:59Z
Don't crash on unexpected validation's error type
Validation function can throw JSON with error
type different than forbidden or unauthorized.
This patch makes couch return unknown_error
instead of crashing query server.
COUCHDB-3286
----
---
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.
---