Nixic commited on
Commit
854a8e3
·
verified ·
1 Parent(s): 12db9f6

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -0
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)}")