Extra debug output

This commit is contained in:
Oliver 2021-10-11 10:21:36 +11:00
parent cfbcb80285
commit 3f3fed2a2b

View File

@ -115,12 +115,11 @@ if __name__ == '__main__':
# Check that the documentation URL is available
url = f"https://inventree.readthedocs.io/en/{docs_version}"
print(f"Checking documentation url: {url}")
response = requests.get(url)
print(f"Checking documentation url: {url} - Response {response.status_code}")
if response.status_code != 200:
print(f"ERROR: Received status code {response.status_code}")
sys.exit(1)
sys.exit(0)
sys.exit(0)