optimize SOCKET_WARNING msg

This commit is contained in:
Stocom
2017-04-28 10:49:30 +08:00
parent a7be332023
commit cce8f0086a
8 changed files with 82 additions and 62 deletions

View File

@@ -113,7 +113,7 @@ function gateserver.start(handler)
function MSG.error(fd, msg)
if fd == socket then
socketdriver.close(fd)
skynet.error(msg)
skynet.error("gateserver close listen socket, accpet error:",msg)
else
if handler.error then
handler.error(fd, msg)