eiri opened a new pull request #577: Don't wrap real error in `badmatch` 
exception
URL: https://github.com/apache/couchdb/pull/577
 
 
   ## Overview
   
   A change in apache/couchdb#576 made any unexpected return from functions 
called in `get_view_index_state/4` to be presented as `badmatch` and hide the 
real error.
   
   This unwraps the `badmatch` and re-throw it as an original response.
   
   ## Testing recommendations
   
   A test suite `make javascript suites=view_errorsjs`should pass.
   
   ## Related Pull Requests
   
   Bug introduced in apache/couchdb#576
   
   ## Checklist
   
   - [x] Code is written and works correctly;
   - [ ] Changes are covered by tests;
   - [ ] Documentation reflects the changes;
   
 
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
[email protected]


With regards,
Apache Git Services

Reply via email to