You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@brpc.apache.org by GitBox <gi...@apache.org> on 2020/08/14 11:06:50 UTC

[GitHub] [incubator-brpc] zyearn commented on issue #1207: brpc如何设置grpc-status和grpc-message?

zyearn commented on issue #1207:
URL: https://github.com/apache/incubator-brpc/issues/1207#issuecomment-674021740


   目前是对用户透明的,通过对 cntl 调用 SetFailed 来隐式转换,转换方式在 https://github.com/apache/incubator-brpc/blob/master/src/brpc/grpc.cpp#L53 可以查到,同时 SetFailed 第二个error text参数就是grpc_message。


----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@brpc.apache.org
For additional commands, e-mail: dev-help@brpc.apache.org