应对timeout问题
This commit is contained in:
parent
854c97976a
commit
6f56393ad0
1 changed files with 3 additions and 1 deletions
|
@ -225,6 +225,7 @@ class RIICReportAnalysis:
|
||||||
for i in output_list
|
for i in output_list
|
||||||
],
|
],
|
||||||
)
|
)
|
||||||
|
return
|
||||||
except Exception as e:
|
except Exception as e:
|
||||||
err_msg = "出错啦!\n"
|
err_msg = "出错啦!\n"
|
||||||
err_msg += f"date_list = {date_list}\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"gold_list = {gold_list}\n"
|
||||||
err_msg += f"exp_list = {exp_list}\n"
|
err_msg += f"exp_list = {exp_list}\n"
|
||||||
err_msg += str(e)
|
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(
|
@as_command(
|
||||||
|
|
Loading…
Reference in a new issue