mirror of
https://github.com/NapNeko/NapCatQQ.git
synced 2025-07-19 12:03:37 +00:00
build: 1.3.5-catch error
This commit is contained in:
@@ -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;
|
||||||
|
Reference in New Issue
Block a user