refactor(server) start: server.on('error')

This commit is contained in:
coderaiser 2013-09-26 11:05:20 +03:00
parent 3f761a385d
commit 64f9bcfc60

View file

@ -89,9 +89,7 @@
lHTTPServer = function() {
Server = http.createServer( controller );
Server.on('error', function (pError) {
Util.log(pError);
});
Server.on('error', Util.log);
Server.listen(lPort, lIP);
lServerLog(lHTTP, lPort);
lSockets(Server);