Update app.py
Browse files
app.py
CHANGED
@@ -135,6 +135,7 @@ def query(payload: Dict[str, Any], api_url: str) -> Optional[Dict[str, Any]]:
|
|
135 |
raise Exception("Too many requests. Please try again later.")
|
136 |
|
137 |
response.raise_for_status()
|
|
|
138 |
return response.json()
|
139 |
except requests.exceptions.JSONDecodeError as e:
|
140 |
logger.error(f"API request failed: {str(e)}")
|
|
|
135 |
raise Exception("Too many requests. Please try again later.")
|
136 |
|
137 |
response.raise_for_status()
|
138 |
+
print(response)
|
139 |
return response.json()
|
140 |
except requests.exceptions.JSONDecodeError as e:
|
141 |
logger.error(f"API request failed: {str(e)}")
|