From 564386a7e0738924561d9aa81a4411cffe7215bd Mon Sep 17 00:00:00 2001 From: johlanse Date: Sun, 23 Oct 2022 09:32:21 +0800 Subject: [PATCH] =?UTF-8?q?=E5=85=B3=E9=97=ADdo=E6=96=B9=E6=B3=95=E5=BC=82?= =?UTF-8?q?=E5=B8=B8=E6=8D=95=E8=8E=B7?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- main.go | 7 ------- 1 file changed, 7 deletions(-) diff --git a/main.go b/main.go index 6dd4a70..caf0e19 100644 --- a/main.go +++ b/main.go @@ -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)