nickva opened a new pull request, #4794:
URL: https://github.com/apache/couchdb/pull/4794

   When we're raising the error with the args list [1], the format for the args 
is a list of arguments not a single arg. So the previous invocations of 
`erlang:error(database_does_not_exist, ?b2l(Id))` would produce a args list of 
individual database name characters [2].
   
   [1] https://www.erlang.org/doc/man/erlang#error-2
   
   [2] > mem3_shards:opts_for_db(<<"doesnotexit">>).
   ```
   ** exception error: database_does_not_exist
        in function  mem3_shards:opts_for_db/11
           called as 
mem3_shards:opts_for_db(100,111,101,115,110,111,116,101,120,105,116)
   ```
   


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

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to