Skip to content
This repository has been archived by the owner on Dec 23, 2017. It is now read-only.

Throw 404 instead of 500 on missing detail results. #575

Merged
merged 1 commit into from
Sep 3, 2015

Conversation

jmcarp
Copy link
Contributor

@jmcarp jmcarp commented Sep 3, 2015

The app currently throws a 500 when a candidate or committee detail
result is not found (e.g., /committee/blah). That's not the semantically
correct code: if the requested entity isn't found, we should throw a
404.

[Resolves https://github.com/18F/openFEC/issues/724]

The app currently throws a 500 when a candidate or committee detail
result is not found (e.g., /committee/blah). That's not the semantically
correct code: if the requested entity isn't found, we should throw a
404.

[Resolves https://github.com/18F/openFEC/issues/724]
LindsayYoung added a commit that referenced this pull request Sep 3, 2015
Throw 404 instead of 500 on missing detail results.
@LindsayYoung LindsayYoung merged commit fdf617e into fecgov:develop Sep 3, 2015
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants