Skip to content

Commit

Permalink
bug grpc: fix kClientError to grpc conversion
Browse files Browse the repository at this point in the history
commit_hash:dfa4bbc94423442be85406f23b33fc55afaf1d6c
  • Loading branch information
len-min committed Nov 23, 2024
1 parent ddb6fea commit 29c5136
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions grpc/src/ugrpc/server/impl/error_code.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@ grpc::StatusCode CustomStatusToGrpc(USERVER_NAMESPACE::server::handlers::Handler
switch (code) {
case HCode::kUnknownError:
return Code::UNKNOWN;
case HCode::kClientError:
case HCode::kRequestParseError:
case HCode::kNotAcceptable:
case HCode::kUnsupportedMediaType:
Expand Down

0 comments on commit 29c5136

Please sign in to comment.