From 3f3fed2a2b42caf00bbdf78e313f5c6716ffad59 Mon Sep 17 00:00:00 2001 From: Oliver Date: Mon, 11 Oct 2021 10:21:36 +1100 Subject: [PATCH] Extra debug output --- ci/check_version_number.py | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/ci/check_version_number.py b/ci/check_version_number.py index 4a02c5d8a2..c51bdd0b77 100644 --- a/ci/check_version_number.py +++ b/ci/check_version_number.py @@ -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) \ No newline at end of file +sys.exit(0)