puppetlabs/puppetdb — pull request #918 by senior (2014-04-14 17:03:53+00:00)
Title: (PDB-574) 404 should be returned when querying for a missing catalog

Previously a schema validation error was being thrown (returning a 500).
Now 404 is returned with an error message indicating it could not find
the catalog.