# HG changeset patch # User Matthew Wild # Date 1294321640 0 # Node ID d2c9d9f569f9419630b0b9efb6dd06e28f8c6033 # Parent 79fd38ab224b98c31a96969325661c71d83ff7de net.server_event: Log interface and port number when binding fails diff -r 79fd38ab224b -r d2c9d9f569f9 net/server_event.lua --- a/net/server_event.lua Wed Jan 05 06:56:36 2011 +0500 +++ b/net/server_event.lua Thu Jan 06 13:47:20 2011 +0000 @@ -726,7 +726,7 @@ --vdebug( "creating new tcp server with following parameters:", addr or "nil", port or "nil", sslcfg or "nil", startssl or "nil") local server, err = socket.bind( addr, port, cfg.ACCEPT_QUEUE ) -- create server socket if not server then - debug( "creating server socket failed because:", err ) + debug( "creating server socket on "..addr.." port "..port.." failed:", err ) return nil, err end local sslctx