mirror of
https://github.com/ikechan8370/chatgpt-plugin.git
synced 2025-12-16 21:37:11 +00:00
fix: error message
This commit is contained in:
parent
3073ca91cf
commit
38de2ce714
1 changed files with 2 additions and 1 deletions
|
|
@ -53,7 +53,8 @@ export class dalle extends plugin {
|
|||
this.reply(images[0], true)
|
||||
}
|
||||
} catch (err) {
|
||||
this.reply(`绘图失败: err`, true)
|
||||
logger.error(err)
|
||||
this.reply(`绘图失败: ${err}`, true)
|
||||
await redis.del(`CHATGPT:DRAW:${e.sender.user_id}`)
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue