"src/main/webapp/template/3/default/nav.htm" did not exist on "ae6d672ff27cad7b22717ced2725c0f17dabb011"
Unverified Commit eb861833 authored by Dmytro Khmelenko's avatar Dmytro Khmelenko Committed by GitHub
Browse files

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

parent c0c202c1
......@@ -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:
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment