build: 1.3.5-catch error

This commit is contained in:
手瓜一十雪 2024-05-19 21:48:52 +08:00
parent 8abde7b7d0
commit 420624bee4

View File

@ -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;