You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@couchdb.apache.org by GitBox <gi...@apache.org> on 2020/01/07 11:45:31 UTC

[GitHub] [couchdb] janl commented on issue #2406: Erlang crash dump written on no admin user

janl commented on issue #2406: Erlang crash dump written on no admin user
URL: https://github.com/apache/couchdb/issues/2406#issuecomment-571554047
 
 
   > IMO throwing a proper error tuple is the "correct" Erlang approach in terms of properly utilizing the API and allowing for indirect use of CouchDB as an Erlang library. The halt based approach hides some of the details from users at the expense of behaving badly in certain situations. Pros and cons.
   
   How about setting another env var in `bin/couchdb[.cmd]` `COUCHDB_NOT_EMBEDDED=1` or some such, and do the `halt` solution, which looks most user friendly only if that env var is set, which should not be the case if somebody embeds CouchDB?
   

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
users@infra.apache.org


With regards,
Apache Git Services