HomeSoftware Heritage

Pass ObjNotFoundErr as a 404 error rather than 500

Description

Pass ObjNotFoundErr as a 404 error rather than 500

Summary:
objstorage_testing: ensure consistency in ObjNotFoundErrors
This should reduce logging when using deployed gunicorn

Test Plan: tests still pass

Reviewers: seirl, Reviewers!

Differential Revision: https://forge.softwareheritage.org/D257

Details

Provenance
olasdAuthored on Oct 20 2017, 4:05 PM
olasdPushed on Oct 31 2017, 2:38 PM
Differential Revision
D257: Pass ObjNotFoundErr as a 404 error rather than 500
Parents
rDOBJSd726ab21c131: objstorage_testing: ensure consistency in ObjNotFoundErrors
Branches
Unknown
Tags
Unknown