HomePhabricator
Diffusion Comm dd77f53460a5

[blob-service] Use S3 errors in HTTP endpoints

Description

[blob-service] Use S3 errors in HTTP endpoints

Summary:
Part of ENG-2398 - this diff changes the HTTP endpoints to use new S3 error types.

Depends on D8101

Test Plan: Mocked database functions to always return errors. Checked with postman that HTTP response codes are correct (400 for empty upload, 500 for others) and errors are logged correctly to stdout.

Reviewers: jon, varun, michal

Reviewed By: varun

Subscribers: ashoat, tomek

Differential Revision: https://phab.comm.dev/D8102

Details

Provenance
bartekAuthored on Jun 1 2023, 7:39 AM
Reviewer
varun
Differential Revision
D8102: [blob-service] Use S3 errors in HTTP endpoints
Parents
rCOMM1f505867d9d4: [blob-service] Use new error types in S3 functions
Branches
Unknown
Tags
Unknown