couchdb-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Chris Anderson (JIRA)" <j...@apache.org>
Subject [jira] Resolved: (COUCHDB-11) CouchDB should handle errors when opening port gracefully
Date Sun, 25 Jan 2009 17:23:02 GMT

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

Chris Anderson resolved COUCHDB-11.
-----------------------------------

    Resolution: Fixed

This seems to have been fixed for a few weeks now. The failure message prints as:

Failure to start Mochiweb: eaddrinuse

Which is not the prettiest, but will work for any Mochiweb error. We could add a lookup table
with pretty error message, but for now I think this is informative enough.

> CouchDB should handle errors when opening port gracefully
> ---------------------------------------------------------
>
>                 Key: COUCHDB-11
>                 URL: https://issues.apache.org/jira/browse/COUCHDB-11
>             Project: CouchDB
>          Issue Type: Bug
>            Reporter: Noah Slater
>            Priority: Minor
>
> ATM CouchDB crashes loud and hard when it tries to open a port that is not
> available. There should be some error handling code in place that produces
> a nice message like so:
> "Could not open port %d: %s" % (port_number, message)
> Obviously, the above is written in Python - but you get the idea.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


Mime
View raw message