From 5b4f9471565e96568890b649da1db7b3b1041b69 Mon Sep 17 00:00:00 2001 From: Kevin Reynolds Date: Mon, 29 Apr 2024 00:45:55 -0400 Subject: [PATCH] debug flags --- labapp/app/app.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/labapp/app/app.py b/labapp/app/app.py index 0bcc020..2146682 100644 --- a/labapp/app/app.py +++ b/labapp/app/app.py @@ -7,7 +7,6 @@ from flask_caching import Cache import requests import markdown -import validators from ce import get_ce_info, get_ce_state app = Flask(__name__) @@ -124,6 +123,8 @@ def lb_aws(): url = f"https://{ns}.{app.config['base_url']}/raw" print(url) response = requests.get(url, timeout=5) + print(response.text) + print(response.json()) response.raise_for_status() if response.json()['request_env'] != "AWS": raise Exception("Invalid request env.")