Page MenuHomePhabricator

[services][blob] Use new errors in service. Move logs
ClosedPublic

Authored by bartek on Dec 13 2022, 12:28 AM.
Tags
None
Referenced Files
F3394374: D5859.diff
Sat, Nov 30, 7:21 PM
Unknown Object (File)
Wed, Nov 13, 5:17 AM
Unknown Object (File)
Wed, Nov 13, 5:16 AM
Unknown Object (File)
Tue, Nov 5, 7:24 AM
Unknown Object (File)
Tue, Nov 5, 7:24 AM
Unknown Object (File)
Sun, Nov 3, 8:28 PM
Unknown Object (File)
Oct 29 2024, 8:49 PM
Unknown Object (File)
Oct 26 2024, 3:33 PM
Subscribers

Details

Summary

Final diff with error adoption. Used new database errors in gRPC service.
I needed to move log messages to database, in order to avoid duplicating code.

S3 errors stay untouched, there is a separate task for that

Depends on D5858

Test Plan

Blob service integration tests should pass. Artificially caused database errors display proper log messages.

Diff Detail

Repository
rCOMM Comm
Lint
No Lint Coverage
Unit
No Test Coverage

Event Timeline

bartek held this revision as a draft.

Rebase on typo fix in prev diff

Rebase onto curretn master

bartek published this revision for review.Jan 23 2023, 7:25 AM
bartek added a reviewer: michal.
This revision is now accepted and ready to land.Jan 24 2023, 1:10 PM