Skip to content

Commit

Permalink
newcomers.py: Show fetch error
Browse files Browse the repository at this point in the history
  • Loading branch information
jayvdb committed Oct 14, 2018
1 parent 97cae73 commit 5933dc8
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions data/newcomers.py
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@ def active_newcomers():
"""
NEWCOMERS_URL = webservices_url('newcomers/active')
response = requests.get(NEWCOMERS_URL)
response.raise_for_status()
newcomers = response.json()
active_newcomers_list = []
for newcomer in newcomers:
Expand Down

0 comments on commit 5933dc8

Please sign in to comment.