소스 검색

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

pull/2407/head
Dmytro Khmelenko 2 년 전
committed by GitHub
부모
커밋
eb86183362
No known key found for this signature in database 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:


불러오는 중...
취소
저장