feat: 微信消息创建session出错时,打印下error输出

This commit is contained in:
wkj 2025-12-08 17:52:18 +08:00
parent ef871317a6
commit 8c8717433c
3 changed files with 3 additions and 3 deletions

View File

@ -577,7 +577,7 @@ async function onWeChatPublicEvent(data, context) {
}, context);
}
catch (err) {
// todo 出错的话怎么处理 by wkj
console.error(err);
return {
content,
contentType: 'application/xml',

View File

@ -581,7 +581,7 @@ async function onWeChatPublicEvent(data, context) {
}, context);
}
catch (err) {
// todo 出错的话怎么处理 by wkj
console.error(err);
return {
content,
contentType: 'application/xml',

View File

@ -741,7 +741,7 @@ async function onWeChatPublicEvent(data: WechatPublicEventData, context: BRC<Ent
context
);
} catch (err) {
// todo 出错的话怎么处理 by wkj
console.error(err);
return {
content,
contentType: 'application/xml',