mirror of
https://github.com/coderaiser/cloudcmd.git
synced 2026-01-23 10:45:47 +00:00
refactor(server) start: server.on('error')
This commit is contained in:
parent
3f761a385d
commit
64f9bcfc60
1 changed files with 1 additions and 3 deletions
|
|
@ -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);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue