ws连接失败输出错误信息
This commit is contained in:
@@ -223,7 +223,7 @@ function WS.update()
|
|||||||
ws.lastPongTime=time
|
ws.lastPongTime=time
|
||||||
else
|
else
|
||||||
ws.status="dead"
|
ws.status="dead"
|
||||||
LOG.print(text.wsFailed,"warn")
|
LOG.print(text.wsFailed.." "..mes,"warn")
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
elseif time-ws.lastPingTime>ws.pingInterval then
|
elseif time-ws.lastPingTime>ws.pingInterval then
|
||||||
|
|||||||
Reference in New Issue
Block a user