mirror of
https://github.com/ikechan8370/chatgpt-plugin.git
synced 2025-12-16 13:27:08 +00:00
fix: add console error log
This commit is contained in:
parent
f0903eeee3
commit
4f663c3902
1 changed files with 2 additions and 1 deletions
|
|
@ -107,7 +107,8 @@ export default class SydneyAIClient {
|
|||
try {
|
||||
return JSON.parse(text)
|
||||
} catch (err) {
|
||||
logger.error('创建sydney对话失败', text)
|
||||
logger.error('创建sydney对话失败')
|
||||
console.error(text)
|
||||
throw new Error(text)
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue