You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@couchdb.apache.org by "Alexander Shorin (JIRA)" <ji...@apache.org> on 2013/07/01 13:40:20 UTC

[jira] [Closed] (COUCHDB-1326) scanty error message when writing to uri_file fails

     [ https://issues.apache.org/jira/browse/COUCHDB-1326?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Alexander Shorin closed COUCHDB-1326.
-------------------------------------

       Resolution: Fixed
    Fix Version/s: 1.2

Fixed in [2bdc0b4|https://git-wip-us.apache.org/repos/asf?p=couchdb.git;a=commit;h=2bdc0b4f0467eb1243be635efc5bece524979d56]
                
> scanty error message when writing to uri_file fails
> ---------------------------------------------------
>
>                 Key: COUCHDB-1326
>                 URL: https://issues.apache.org/jira/browse/COUCHDB-1326
>             Project: CouchDB
>          Issue Type: Bug
>            Reporter: RogutÄ—s Sparnuotos
>            Priority: Minor
>             Fix For: 1.2
>
>         Attachments: 0001-A-more-useful-error-when-writing-to-uri_file-fails.patch, 0001-A-more-useful-error-when-writing-to-uri_file-fails.patch, COUCHDB-1326-fdmanana.patch
>
>
> CouchDB crashes when it fails writing to uri_file (set from the [couchdb] section). The error message is too vague to understand what's going on: "{{badmatch,{error,enoent}}". At least the filename should be mentioned.
> P.S.
> I'd say it's all Erlang's fault, because file:write_file() doesn't report the file name on errors.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira