mirror of
https://github.com/ikechan8370/chatgpt-plugin.git
synced 2025-12-16 21:37:11 +00:00
fix: 优化报错内容
This commit is contained in:
parent
fb7cd69969
commit
4626577a93
3 changed files with 5 additions and 5 deletions
|
|
@ -1002,7 +1002,7 @@ export class chatgpt extends plugin {
|
|||
errorMessage = ''
|
||||
break
|
||||
} catch (error) {
|
||||
const message = error?.message || error?.data?.message || '与Bing通信时出错.'
|
||||
const message = error?.message || error?.data?.message || error || '出错了'
|
||||
if (message !== 'Timed out waiting for first message.') {
|
||||
logger.error(error)
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue