rnewson commented on issue #1164: Fix: Proper error handling for file:open() call in couch_file.erl URL: https://github.com/apache/couchdb/pull/1164#issuecomment-370775511 -1. We assert that we get the `ok` we expect. If we don't, we want the process to crash, which it does. Adding error handling code for errors we don't intend to handle (in the sync case, you immediately throw it anyway) is an anti-pattern in erlang, though common (or mandatory) in other languages.
---------------------------------------------------------------- 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
