feat: 微信消息创建session出错时,打印下error输出
This commit is contained in:
parent
ef871317a6
commit
8c8717433c
|
|
@ -577,7 +577,7 @@ async function onWeChatPublicEvent(data, context) {
|
|||
}, context);
|
||||
}
|
||||
catch (err) {
|
||||
// todo 出错的话怎么处理 by wkj
|
||||
console.error(err);
|
||||
return {
|
||||
content,
|
||||
contentType: 'application/xml',
|
||||
|
|
|
|||
|
|
@ -581,7 +581,7 @@ async function onWeChatPublicEvent(data, context) {
|
|||
}, context);
|
||||
}
|
||||
catch (err) {
|
||||
// todo 出错的话怎么处理 by wkj
|
||||
console.error(err);
|
||||
return {
|
||||
content,
|
||||
contentType: 'application/xml',
|
||||
|
|
|
|||
|
|
@ -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',
|
||||
|
|
|
|||
Loading…
Reference in New Issue