From 0f9b8fcca89488ca3a5bf9e6c1f81082c8b4eeb0 Mon Sep 17 00:00:00 2001 From: Liteyuki <157406777+Liteyuki@users.noreply.github.com> Date: Mon, 8 Apr 2024 11:19:49 +0800 Subject: [PATCH] =?UTF-8?q?fix:=20=E7=A7=BB=E9=99=A4=E6=B3=A8=E9=87=8A?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- main.py | 1 - 1 file changed, 1 deletion(-) diff --git a/main.py b/main.py index 7bbaf86b..876b594b 100644 --- a/main.py +++ b/main.py @@ -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__()))