mirror of
https://github.com/Buriburizaem0n/nezha_domains.git
synced 2026-05-06 05:38:50 +00:00
🐛 fixed #105
This commit is contained in:
+1
-1
@@ -13,7 +13,7 @@ import (
|
||||
pb "github.com/naiba/nezha/proto"
|
||||
)
|
||||
|
||||
var Version = "v0.4.10" // !!记得修改 README 重的 badge 版本!!
|
||||
var Version = "v0.4.11" // !!记得修改 README 重的 badge 版本!!
|
||||
|
||||
const (
|
||||
SnapshotDelay = 3
|
||||
|
||||
@@ -26,7 +26,7 @@ func (s *NezhaHandler) ReportTask(c context.Context, r *pb.TaskResult) (*pb.Rece
|
||||
var errMsg string
|
||||
if strings.HasPrefix(r.GetData(), "SSL证书错误:") {
|
||||
// 排除超时错误
|
||||
if !strings.HasSuffix(r.GetData(), "i/o timeout") {
|
||||
if !strings.HasSuffix(r.GetData(), "timeout") {
|
||||
errMsg = r.GetData()
|
||||
}
|
||||
} else {
|
||||
|
||||
Reference in New Issue
Block a user