From 3cf5fc4c51e31826598198932e6afbbb5a9baff4 Mon Sep 17 00:00:00 2001 From: weishu Date: Tue, 24 Oct 2023 18:00:45 +0800 Subject: [PATCH] ci: ignore ksubot error --- scripts/ksubot.py | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/scripts/ksubot.py b/scripts/ksubot.py index 1895dfab..a2fb1822 100644 --- a/scripts/ksubot.py +++ b/scripts/ksubot.py @@ -86,4 +86,7 @@ async def main(): await bot.log_out() if __name__ == "__main__": - asyncio.run(main()) + try: + asyncio.run(main()) + except Exception as e: + print(f"[-] An error occurred: {e}") \ No newline at end of file