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

more info for 当前上网环境异常. close #465.

This commit is contained in:
Mrs4s 2020-12-04 14:29:12 +08:00
parent 14278190e3
commit 469054e5a3

View File

@ -204,6 +204,8 @@ func (s *webServer) Dologin() {
cli.Disconnect()
rsp, err = cli.Login()
count++
log.Warnf("错误: 当前上网环境异常. 将更换服务器并重试. 如果频繁遇到此问题请打开设备锁.")
time.Sleep(time.Second)
continue
}
log.Warnf("登录失败: %v", msg)