Skip to content

Commit 5b4f947

Browse files
author
Kevin Reynolds
committed
debug flags
1 parent bc04a84 commit 5b4f947

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

labapp/app/app.py

+2-1
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,6 @@
77
from flask_caching import Cache
88
import requests
99
import markdown
10-
import validators
1110
from ce import get_ce_info, get_ce_state
1211

1312
app = Flask(__name__)
@@ -124,6 +123,8 @@ def lb_aws():
124123
url = f"https://{ns}.{app.config['base_url']}/raw"
125124
print(url)
126125
response = requests.get(url, timeout=5)
126+
print(response.text)
127+
print(response.json())
127128
response.raise_for_status()
128129
if response.json()['request_env'] != "AWS":
129130
raise Exception("Invalid request env.")

0 commit comments

Comments
 (0)