ソースを参照

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:


読み込み中…
キャンセル
保存