修复bug

This commit is contained in:
LINSTCL
2023-03-23 16:43:41 +08:00
parent f56c6876d1
commit cc38cc2676

View File

@@ -247,6 +247,8 @@ def start(first_time_init=False):
"捕捉到未知异常:{}, 请前往 https://github.com/RockChinQ/QChatGPT/issues 查找或提issue".format(e))
known_exception_caught = True
raise e
finally:
time.sleep(12)
threading.Thread(
target=run_bot_wrapper
).start()