mirror of
https://github.com/ikechan8370/chatgpt-plugin.git
synced 2025-12-17 13:57:10 +00:00
fix: print error
This commit is contained in:
parent
ff69d2e963
commit
877b91c765
2 changed files with 2 additions and 0 deletions
|
|
@ -305,6 +305,7 @@ export class ChatGPTAPI {
|
|||
}
|
||||
} else {
|
||||
const res = response as any
|
||||
console.error(res)
|
||||
return reject(
|
||||
new Error(
|
||||
`OpenAI error: ${
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue