关闭do方法异常捕获

This commit is contained in:
johlanse 2022-10-23 09:32:21 +08:00
parent 5d248d7195
commit 564386a7e0
1 changed files with 0 additions and 7 deletions

View File

@ -237,13 +237,6 @@ func main() {
}
func do(m string) {
defer func() {
err := recover()
if err != nil {
log.Errorln("do 方法执行错误")
log.Errorln(err)
}
}()
log.Infoln("检测到模式", config.Model)