You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@couchdb.apache.org by "Chris Anderson (JIRA)" <ji...@apache.org> on 2009/01/25 18:23:02 UTC
[jira] Resolved: (COUCHDB-11) CouchDB should handle errors when
opening port gracefully
[ 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.