Skip to content

Commit

Permalink
also tolerate unknown error
Browse files Browse the repository at this point in the history
Signed-off-by: Bugen Zhao <[email protected]>
  • Loading branch information
BugenZhao committed Aug 16, 2024
1 parent cf08b45 commit 4c8e678
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/rpc_client/src/error.rs
Original file line number Diff line number Diff line change
Expand Up @@ -87,6 +87,7 @@ impl RpcError {
RpcError::GrpcStatus(status) => matches!(
status.inner().code(),
tonic::Code::Unavailable // server not started
| tonic::Code::Unknown // could be transport error
| tonic::Code::Unimplemented // meta leader service not started
),
RpcError::MetaAddressParse(_) => false,
Expand Down

0 comments on commit 4c8e678

Please sign in to comment.