mirror of
https://github.com/ikechan8370/chatgpt-plugin.git
synced 2025-12-16 05:17:10 +00:00
fix: missing return when auth failed
This commit is contained in:
parent
676baffa20
commit
5989d81f56
2 changed files with 2 additions and 0 deletions
1
index.js
1
index.js
|
|
@ -123,6 +123,7 @@ export class chatgpt extends plugin {
|
|||
} catch (e) {
|
||||
logger.error(e)
|
||||
await this.reply(`OpenAI认证失败,请检查Token:${e}`, true)
|
||||
return
|
||||
}
|
||||
let c
|
||||
logger.info(`chatgpt question: ${question}`)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue