From b70eff28cd340913f899eab8d0f485b978d78d54 Mon Sep 17 00:00:00 2001 From: yanglbme Date: Tue, 12 Dec 2023 11:04:31 +0800 Subject: [PATCH] chore: update error log --- README.md | 2 +- app/action.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index dacc28f..32d4362 100644 --- a/README.md +++ b/README.md @@ -155,7 +155,7 @@ Run yanglbme/gitee-pages-action@main | 2 | Error: Need captcha validation, please visit https://gitee.com/login, login to validate your account. | 需要图片验证码校验。可以手动登录 Gitee 官方,校验验证码。 | | 3 | Error: Need phone captcha validation, please follow wechat official account "Gitee" to bind account to turn off authentication. | 需要短信验证码校验。可以关注 Gitee 微信公众号,并绑定 Gitee 帐号,接收登录提示。[#6](https://github.com/yanglbme/gitee-pages-action/issues/6) | | 4 | Error: Do not deploy frequently, try again one minute later. | 短期内频繁部署 Gitee Pages 导致,可以稍后再触发自动部署。 | -| 5 | Error: Deploy error occurred, please check your input `gitee-repo`. | `gitee-repo` 参数格式如:`doocs/leetcode`,并且严格区分大小写,请准确填写。[#10](https://github.com/yanglbme/gitee-pages-action/issues/10) | +| 5 | Error: Deploy error occurred, please re-run job or check your input `gitee-repo`. | `gitee-repo` 参数格式如:`doocs/leetcode`,并且严格区分大小写,请准确填写。[#10](https://github.com/yanglbme/gitee-pages-action/issues/10) | | 6 | Error: Unknown error occurred in login method, resp: ... | 登录出现未知错误,请在 [issues](https://github.com/yanglbme/gitee-pages-action/issues) 区反馈。 | | 7 | Error: Rebuild page error, status code: xxx | 更新 Pages 时状态码异常,请尝试再次触发 Action 执行。也可能为 gitee pages 未初始化,第一次需要手动部署 gitee pages。 | | 8 | Error: HTTPSConnectionPool(host='gitee.com', port=443): Read timed out. (read timeout=6)

Error: HTTPSConnectionPool(host='gitee.com', port=443): Max retries exceeded with url: /login (Caused by ConnectTimeoutError(, 'Connection to gitee.com timed out. (connect timeout=6)')) | 网络请求出错,请尝试 Re-run jobs 。[#27](https://github.com/yanglbme/gitee-pages-action/issues/27) | diff --git a/app/action.py b/app/action.py index a20bc25..2bb19cb 100644 --- a/app/action.py +++ b/app/action.py @@ -35,7 +35,7 @@ def get_csrf_token(html: str) -> str: '', html, re.S) res = res1 or res2 if res is None: - raise Exception('Deploy error occurred, please check your input `gitee-repo`.') + raise Exception('Deploy error occurred, please re-run job or check your input `gitee-repo`.') return res.group(2) @retry((requests.exceptions.ReadTimeout,