mirror of
https://github.com/Mrs4s/MiraiGo.git
synced 2025-05-07 20:45:53 +08:00
heartbeat failed message.
This commit is contained in:
parent
d36eb9abe7
commit
9012263efe
@ -1134,7 +1134,7 @@ func (c *QQClient) doHeartbeat() {
|
||||
time.AfterFunc(30*time.Second, c.doHeartbeat)
|
||||
return
|
||||
}
|
||||
c.lastLostMsg = "Heartbeat failed"
|
||||
c.lastLostMsg = "Heartbeat failed: " + err.Error()
|
||||
c.Disconnect()
|
||||
}
|
||||
c.heartbeatEnabled = false
|
||||
|
Loading…
x
Reference in New Issue
Block a user