mirror of
https://github.com/NapNeko/NapCatQQ.git
synced 2024-11-21 09:36:35 +00:00
build: 1.3.5-catch error
This commit is contained in:
parent
8abde7b7d0
commit
420624bee4
@ -143,7 +143,7 @@ export class NapCatOnebot11 {
|
|||||||
OB11Constructor.message(msg).then((_msg) => {
|
OB11Constructor.message(msg).then((_msg) => {
|
||||||
_msg.target_id = parseInt(msg.peerUin);
|
_msg.target_id = parseInt(msg.peerUin);
|
||||||
logMessage(_msg as OB11Message).then().catch(logError);
|
logMessage(_msg as OB11Message).then().catch(logError);
|
||||||
});
|
}).catch(logError);
|
||||||
if (ob11Config.reportSelfMessage) {
|
if (ob11Config.reportSelfMessage) {
|
||||||
dbUtil.addMsg(msg).then(id => {
|
dbUtil.addMsg(msg).then(id => {
|
||||||
msg.id = id;
|
msg.id = id;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user