Skip to content

Commit

Permalink
Merge pull request #119 from cfpb/troubleshooting
Browse files Browse the repository at this point in the history
Add 'raise_for_status' to capture status errors for troubleshooting
  • Loading branch information
higs4281 authored Dec 5, 2017
2 parents 9939145 + 549601e commit 897a887
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions countylimits/data_collection/county_data_monitor.py
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@

def get_current_log():
changelog_response = requests.get(CENSUS_CHANGELOG)
changelog_response.raise_for_status()
soup = bs(changelog_response.text, 'lxml')
return soup.find("div", {"id": CHANGELOG_ID}).text

Expand Down

0 comments on commit 897a887

Please sign in to comment.