Page MenuHomePhabricator

[blob-service] Use S3 errors in HTTP endpoints
ClosedPublic

Authored by bartek on Jun 6 2023, 2:04 AM.
Tags
None
Referenced Files
Unknown Object (File)
Tue, Dec 17, 2:18 AM
Unknown Object (File)
Tue, Dec 17, 2:18 AM
Unknown Object (File)
Tue, Dec 17, 2:17 AM
Unknown Object (File)
Tue, Dec 17, 2:13 AM
Unknown Object (File)
Sat, Dec 7, 2:13 AM
Unknown Object (File)
Thu, Dec 5, 8:29 PM
Unknown Object (File)
Dec 5 2024, 2:32 AM
Unknown Object (File)
Dec 4 2024, 3:27 PM
Subscribers

Details

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.

Diff Detail

Repository
rCOMM Comm
Lint
Lint Not Applicable
Unit
Tests Not Applicable