浏览代码

Count as error only for 4xx and 5xx http status codes

pull/2407/head
Dmytro Khmelenko 2 年前
committed by GitHub
父节点
当前提交
eb86183362
找不到此签名对应的密钥 GPG 密钥 ID: 4AEE18F83AFDEB23
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. +1
    -1
      build/validate_links.py

+ 1
- 1
build/validate_links.py 查看文件

@@ -57,7 +57,7 @@ def validate_links(links):
})
code = int(resp[0]['status'])
# Checking status code errors
if (code >= 300):
if (code >= 400):
hasError = True
print(f"ERR:CLT:{code} : {link}")
except TimeoutError:


正在加载...
取消
保存