mirror of
https://github.com/TeaOSLab/EdgeNode.git
synced 2026-01-09 18:05:49 +08:00
修改网络连接错误日志级别
This commit is contained in:
@@ -79,7 +79,7 @@ func Error(tag string, description string) {
|
||||
|
||||
// 忽略RPC连接错误
|
||||
var level = "error"
|
||||
if strings.Contains(description, "code = Unavailable desc = connection closed") {
|
||||
if strings.Contains(description, "code = Unavailable desc") {
|
||||
level = "warning"
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user