From d424917077aec3547483cbef0f88df6837e7dd83 Mon Sep 17 00:00:00 2001 From: Liang Ding Date: Wed, 7 Sep 2022 22:50:06 +0800 Subject: [PATCH] =?UTF-8?q?:art:=20=E6=A1=8C=E9=9D=A2=E7=AB=AF=E8=87=AA?= =?UTF-8?q?=E5=8A=A8=E4=B8=8B=E8=BD=BD=E6=9B=B4=E6=96=B0=E5=AE=89=E8=A3=85?= =?UTF-8?q?=E5=8C=85=20https://github.com/siyuan-note/siyuan/issues/5837?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- kernel/model/updater.go | 2 ++ 1 file changed, 2 insertions(+) diff --git a/kernel/model/updater.go b/kernel/model/updater.go index 73fe68ceb..249824f7f 100644 --- a/kernel/model/updater.go +++ b/kernel/model/updater.go @@ -35,6 +35,8 @@ import ( var checkDownloadInstallPkgLock = sync.Mutex{} func checkDownloadInstallPkg() { + defer logging.Recover() + if !Conf.System.DownloadInstallPkg { return }