mirror of
https://github.com/TeaOSLab/EdgeNode.git
synced 2025-12-26 06:56:35 +08:00
优化错误日志处理
This commit is contained in:
@@ -53,7 +53,11 @@ func (this *OCSPUpdateTask) Start() {
|
||||
for range this.ticker.C {
|
||||
err := this.Loop()
|
||||
if err != nil {
|
||||
remotelogs.Warn("OCSPUpdateTask", "update ocsp failed: "+err.Error())
|
||||
if rpc.IsConnError(err) {
|
||||
remotelogs.Debug("OCSPUpdateTask", "update ocsp failed: "+err.Error())
|
||||
} else {
|
||||
remotelogs.Warn("OCSPUpdateTask", "update ocsp failed: "+err.Error())
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user