Merge pull request #32 from Liteyuki/main

fix: 移除注释
This commit is contained in:
Snowykami 2024-04-08 11:20:30 +08:00 committed by GitHub
commit 29867dd187
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -26,7 +26,6 @@ if __name__ == "__main__":
try:
nonebot.run()
except BaseException as e:
# 排除键盘中断
if not isinstance(e, KeyboardInterrupt):
nonebot.logger.error(f"An error occurred: {e}, Bug will be reported automatically.")
liteyuki_api.bug_report(str(e.__repr__()))