完善日志输出

This commit is contained in:
kony
2024-12-25 18:04:22 +08:00
parent 95a223a7a7
commit 313f98f634

View File

@@ -11,7 +11,7 @@ import (
func check(err error) bool {
if err != nil {
if !strings.Contains(err.Error(), "time out") && !strings.Contains(err.Error(), "closed") {
if !strings.Contains(err.Error(), "timeout") && !strings.Contains(err.Error(), "closed") {
return true
}
}