We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 81bf3aa commit 53d8fb1Copy full SHA for 53d8fb1
web_programming/reddit.py
@@ -33,7 +33,7 @@ def get_subreddit_data(
33
headers={"User-agent": "A random string"},
34
)
35
if response.status_code == 429:
36
- raise requests.HTTPError
+ raise requests.HTTPError(response=response)
37
38
data = response.json()
39
if not wanted_data:
0 commit comments