优化验证码失败次数统计

This commit is contained in:
GoEdgeLab
2022-05-21 20:02:35 +08:00
parent 4dccc2929b
commit b13fccc093
4 changed files with 90 additions and 58 deletions

View File

@@ -13,7 +13,6 @@ import (
"github.com/TeaOSLab/EdgeNode/internal/rpc"
"github.com/TeaOSLab/EdgeNode/internal/utils"
"github.com/iwind/TeaGo/Tea"
"github.com/iwind/TeaGo/logs"
stringutil "github.com/iwind/TeaGo/utils/string"
"os"
"os/exec"
@@ -64,7 +63,7 @@ func (this *UpgradeManager) Start() {
goman.New(func() {
err = this.restart()
if err != nil {
logs.Println("UPGRADE_MANAGER", err.Error())
remotelogs.Error("UPGRADE_MANAGER", err.Error())
}
})
}