重新抛出异常以便 GitHub Actions 获知状态

This commit is contained in:
ImAyx 2024-12-02 17:11:29 +08:00 committed by GitHub
parent a3f4f7db0c
commit b709205360
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -219,4 +219,5 @@ if __name__ == "__main__":
sct_msg += f"执行过程中出错:{str(e)}"
if sct_key:
httpx.get(sct_url, params={"desp": sct_msg})
raise
logger.info("所有任务已经执行完毕!")