ws连接失败输出错误信息

This commit is contained in:
MrZ626
2021-03-27 22:06:24 +08:00
parent 29af52c72e
commit 01f779ef37

View File

@@ -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