couchdb-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Sam Bisbee (Reopened) (JIRA)" <>
Subject [jira] [Reopened] (COUCHDB-11) CouchDB should handle errors when opening port gracefully
Date Wed, 22 Feb 2012 04:34:48 GMT


Sam Bisbee reopened COUCHDB-11:

Yes, I do mean to reopen this ticket from so long ago. :)

The same mochiweb error is getting printed, but so are a bunch of erlang dumps. A lot of the
dumps aren't clearly linked to the port already being bound to.

The cause of the issue becomes non-obvious for the uninitiated and it would be a lot nicer
for the user to just have a "that port is in use" message with couch exiting immediately.

> CouchDB should handle errors when opening port gracefully
> ---------------------------------------------------------
>                 Key: COUCHDB-11
>                 URL:
>             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.
If you think it was sent incorrectly, please contact your JIRA administrators:!default.jspa
For more information on JIRA, see:


View raw message