Uploaded image for project: 'CouchDB'
  1. CouchDB
  2. COUCHDB-1326

scanty error message when writing to uri_file fails

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Minor
    • Resolution: Fixed
    • None
    • 1.2
    • None
    • None

    Description

      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.

      Attachments

        1. 0001-A-more-useful-error-when-writing-to-uri_file-fails.patch
          1.0 kB
          Rogutės Sparnuotos
        2. 0001-A-more-useful-error-when-writing-to-uri_file-fails.patch
          1.0 kB
          Rogutės Sparnuotos
        3. COUCHDB-1326-fdmanana.patch
          0.8 kB
          Filipe David Borba Manana

        Activity

          People

            Unassigned Unassigned
            rogutes Rogutės Sparnuotos
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: