mirror of
https://github.com/ikechan8370/chatgpt-plugin.git
synced 2025-12-16 13:27:08 +00:00
fix: 添加一个报错提示
This commit is contained in:
parent
926f07c8e9
commit
3f42c05388
1 changed files with 3 additions and 0 deletions
|
|
@ -138,6 +138,9 @@ export default class XinghuoClient {
|
|||
createChatListRes = await createChatListRes.json()
|
||||
if (createChatListRes.data?.id) {
|
||||
logger.info('星火对话创建成功:' + createChatListRes.data.id)
|
||||
} else {
|
||||
logger.error('星火对话创建成功: ' + JSON.stringify(createChatListRes))
|
||||
throw new Error('星火对话创建成功:' + JSON.stringify(createChatListRes))
|
||||
}
|
||||
return {
|
||||
chatListId: createChatListRes.data?.id,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue