瀏覽代碼

Count as error only for 4xx and 5xx http status codes (#2407)

pull/2670/head
Matheus Felipe 2 年之前
committed by GitHub
父節點
當前提交
846e338a75
沒有發現已知的金鑰在資料庫的簽署中 GPG 金鑰 ID: 4AEE18F83AFDEB23
共有 1 個檔案被更改,包括 1 行新增1 行删除
  1. +1
    -1
      build/validate_links.py

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

@@ -64,7 +64,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…
取消
儲存