build: 1.3.5-beta20

This commit is contained in:
手瓜一十雪 2024-05-17 15:39:31 +08:00
parent ff5fb18e14
commit 55e64395ed

View File

@ -107,6 +107,7 @@ export function postOB11Event(msg: PostEventType, reportSelf = false, postWs = t
logDebug('新消息事件HTTP上报没有返回快速操作不需要处理');
return;
}
try {
if (msg.post_type === 'message') {
msg = msg as OB11Message;
const rawMessage = await dbUtil.getMsgByShortId(msg.message_id);
@ -178,6 +179,10 @@ export function postOB11Event(msg: PostEventType, reportSelf = false, postWs = t
}
}
}
} catch (e: any) {
logError('新消息事件HTTP上报返回快速操作失败', e);
}
}, (err: any) => {
logError(`新消息事件HTTP上报失败: ${host} `, err, msg);
});