HomePhabricator
Diffusion Comm 204ce2737677

[keyserver] improve error message on identity connection failure

Description

[keyserver] improve error message on identity connection failure

Summary: the existing error message, "Unable to connect to identity service," is not very helpful

Test Plan:
tried to connect to my local identity service which was not running. Saw this error in the keyserver logs:

[NODEM] Failed to register user: Transport Error: tonic::transport::Error(Transport, hyper::Error(Connect, ConnectError("tcp connect error", Os { code: 61, kind: ConnectionRefused, message: "Connection refused" })))

much better than just "Unable to connect to identity service"

Reviewers: will

Reviewed By: will

Subscribers: ashoat, tomek

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

Details

Provenance
varunAuthored on Feb 22 2024, 8:36 AM
Reviewer
will
Differential Revision
D11145: [keyserver] improve error message on identity connection failure
Parents
rCOMM51ea422f9e6f: [terraform] temporarily reduce identity service desired count
Branches
Unknown
Tags
Unknown