Skip to content

Conversation

nickpell
Copy link
Contributor

@nickpell nickpell commented Jul 6, 2018

@nickpell nickpell requested review from emord and orangejenny July 6, 2018 17:59
except HTTPError as e:
if e.response.status_code == 404:
raise ResourceNotFound
raise ResourceNotFound(json.loads(e.response.content)['reason'])
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Is this always specified? Should it use .get ?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think it should be, but I'll be on the lookout for any errors

@nickpell nickpell merged commit 4c40bdc into jsonobject Jul 6, 2018
@nickpell nickpell deleted the np/missing branch July 6, 2018 18:16
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants