修改个别错误级别

This commit is contained in:
GoEdgeLab
2022-04-08 15:25:53 +08:00
parent 4d48100cfb
commit 9d0467fe8a

View File

@@ -149,6 +149,10 @@ func (this *IPListManager) fetch() (hasNext bool, err error) {
Size: this.pageSize,
})
if err != nil {
if rpc.IsConnError(err) {
remotelogs.Warn("IP_LIST_MANAGER", "rpc connection error: "+err.Error())
return false, nil
}
return false, err
}
items := itemsResp.IpItems