Skip to content

Commit

Permalink
build: 1.3.5-catch error
Browse files Browse the repository at this point in the history
  • Loading branch information
MliKiowa committed May 19, 2024
1 parent 8abde7b commit 420624b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/onebot11/main.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down

0 comments on commit 420624b

Please sign in to comment.