From 420624bee48b32a35de91cd544cd620d0334d4c7 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E6=89=8B=E7=93=9C=E4=B8=80=E5=8D=81=E9=9B=AA?= Date: Sun, 19 May 2024 21:48:52 +0800 Subject: [PATCH] build: 1.3.5-catch error --- src/onebot11/main.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/onebot11/main.ts b/src/onebot11/main.ts index 74b0d40d..afd811d0 100644 --- a/src/onebot11/main.ts +++ b/src/onebot11/main.ts @@ -143,7 +143,7 @@ export class NapCatOnebot11 { OB11Constructor.message(msg).then((_msg) => { _msg.target_id = parseInt(msg.peerUin); logMessage(_msg as OB11Message).then().catch(logError); - }); + }).catch(logError); if (ob11Config.reportSelfMessage) { dbUtil.addMsg(msg).then(id => { msg.id = id;