Specified error type
This commit is contained in:
parent
b709205360
commit
2153c92579
2
main.py
2
main.py
|
@ -219,5 +219,5 @@ if __name__ == "__main__":
|
||||||
sct_msg += f"执行过程中出错:{str(e)}"
|
sct_msg += f"执行过程中出错:{str(e)}"
|
||||||
if sct_key:
|
if sct_key:
|
||||||
httpx.get(sct_url, params={"desp": sct_msg})
|
httpx.get(sct_url, params={"desp": sct_msg})
|
||||||
raise
|
raise RunError(str(e))
|
||||||
logger.info("所有任务已经执行完毕!")
|
logger.info("所有任务已经执行完毕!")
|
||||||
|
|
Loading…
Reference in New Issue
Block a user