mirror of
https://github.com/inventree/InvenTree
synced 2024-08-30 18:33:04 +00:00
Extra debug output
This commit is contained in:
parent
cfbcb80285
commit
3f3fed2a2b
@ -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)
|
||||
|
Loading…
Reference in New Issue
Block a user