mirror of
https://github.com/Mrs4s/go-cqhttp.git
synced 2025-05-06 12:03:50 +08:00
more info for 当前上网环境异常. close #465.
This commit is contained in:
parent
14278190e3
commit
469054e5a3
@ -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)
|
||||
|
Loading…
x
Reference in New Issue
Block a user