1
0
mirror of https://github.com/Mrs4s/MiraiGo.git synced 2025-05-08 13:06:05 +08:00

heartbeat failed message.

This commit is contained in:
Mrs4s 2020-11-13 15:55:15 +08:00
parent d36eb9abe7
commit 9012263efe

View File

@ -1134,7 +1134,7 @@ func (c *QQClient) doHeartbeat() {
time.AfterFunc(30*time.Second, c.doHeartbeat) time.AfterFunc(30*time.Second, c.doHeartbeat)
return return
} }
c.lastLostMsg = "Heartbeat failed" c.lastLostMsg = "Heartbeat failed: " + err.Error()
c.Disconnect() c.Disconnect()
} }
c.heartbeatEnabled = false c.heartbeatEnabled = false