diff --git a/apps/riic_report_analysis.py b/apps/riic_report_analysis.py index e43becd..c38b701 100644 --- a/apps/riic_report_analysis.py +++ b/apps/riic_report_analysis.py @@ -225,6 +225,7 @@ class RIICReportAnalysis: for i in output_list ], ) + return except Exception as e: err_msg = "出错啦!\n" err_msg += f"date_list = {date_list}\n" @@ -232,7 +233,8 @@ class RIICReportAnalysis: err_msg += f"gold_list = {gold_list}\n" err_msg += f"exp_list = {exp_list}\n" err_msg += str(e) - await chain.onebot_reply(Text(err_msg), At("1040110848")) + if str(e) != "timed out": + await chain.onebot_reply(Text(err_msg), At("1040110848")) @as_command(