Github user mikewallace1979 commented on the pull request:

    https://github.com/apache/couchdb-couch/pull/86#issuecomment-130460908
  
    @kxepal I made the change in `couch_db:validate_ddoc` instead. 
Interestingly I had to wrap the validate call in a case because the validation 
function converts throws into tuples and returns them [1].
    
    That being the case should we also move the `invalid_design_doc` catch on 
L583 into a case clause?
    
    [1] 
https://github.com/apache/couchdb-couch-index/blob/master/src/couch_index_server.erl#L59-L60


---
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.
---

Reply via email to