🐛 FIX: 移除一些不必要的报错抛出

This commit is contained in:
Soulter
2023-12-14 16:41:05 +08:00
parent a12be7fa77
commit 84d1293fd0

View File

@@ -469,7 +469,6 @@ def run_qqchan_bot(cfg, loop, qqchannel_bot: QQChan):
try:
qqchannel_bot.run_bot(client, cfg['qqbot']['appid'], cfg['qqbot']['token'])
except BaseException as e:
raise e
gu.log("启动QQ频道机器人时出现错误, 原因如下: " + str(e), gu.LEVEL_CRITICAL, tag="QQ频道")
gu.log(r"如果您是初次启动请修改配置文件QQChannelChatGPT/config.yaml详情请看https://github.com/Soulter/QQChannelChatGPT/wiki。" + str(e), gu.LEVEL_CRITICAL, tag="System")