HomePhabricator
Diffusion Comm 38bc82fe2fce

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

Description

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

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.

Reviewers: varun, jon, tomek, michal

Reviewed By: varun, jon

Subscribers: ashoat, atul

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

Details

Provenance
bartekAuthored on Dec 5 2022, 3:45 AM
Reviewer
varun
Differential Revision
D5859: [services][blob] Use new errors in service. Move logs
Parents
rCOMMda907a55261b: [services][blob] Add custom errors to db methods
Branches
Unknown
Tags
Unknown