瀏覽代碼

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:


Loading…
取消
儲存