From 977cece32927e7e2bc0b5cc9495fee6727f55496 Mon Sep 17 00:00:00 2001 From: Mmx <1624045573@qq.com> Date: Fri, 26 Nov 2021 08:43:24 +0800 Subject: [PATCH] =?UTF-8?q?fix:=20=E5=AE=88=E6=8A=A4=E6=A8=A1=E5=BC=8F?= =?UTF-8?q?=E6=89=93=E5=8D=B0=E9=94=99=E8=AF=AF?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- controllers/guardian.go | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/controllers/guardian.go b/controllers/guardian.go index ebe07c0..9dd99e6 100644 --- a/controllers/guardian.go +++ b/controllers/guardian.go @@ -28,7 +28,10 @@ func Guardian(output bool) { }() if !util.Checker.NetOk(global.Config.Settings.Timeout) { util.Log.Println("Network down, trying to login") - _ = Login(output, true) + e := Login(output, true) + if e != nil { + util.Log.Println("Error: ", e) + } } else { if global.Config.Settings.DemoMode { util.Log.Println("Network ok")