mirror of
https://github.com/Buriburizaem0n/nezha_domains.git
synced 2026-02-04 04:30:05 +00:00
✨ 接入 Gitee 登录,v0.4.11 之前的用户需要更新配置文件
This commit is contained in:
@@ -25,8 +25,8 @@ func (s *NezhaHandler) ReportTask(c context.Context, r *pb.TaskResult) (*pb.Rece
|
||||
// SSL 证书报警
|
||||
var errMsg string
|
||||
if strings.HasPrefix(r.GetData(), "SSL证书错误:") {
|
||||
// 排除超时错误
|
||||
if !strings.HasSuffix(r.GetData(), "timeout") {
|
||||
// 排除 i/o timeont、connection timeout、EOF 错误
|
||||
if !strings.HasSuffix(r.GetData(), "timeout") && r.GetData() != "EOF" {
|
||||
errMsg = r.GetData()
|
||||
}
|
||||
} else {
|
||||
|
||||
Reference in New Issue
Block a user