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

Commits on Sep 3, 2015

  1. Throw 404 instead of 500 on missing detail results.

    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]
    jmcarp committed Sep 3, 2015
    Configuration menu
    Copy the full SHA
    0c2363f View commit details
    Browse the repository at this point in the history