imdouyu commented on issue #2853:
URL: https://github.com/apache/brpc/issues/2853#issuecomment-2561713559
> 这个错误会不会是server回的?
哦大佬,我刚才理解错意思了,是server回的,拿echo_c++举个例子
```C++
cntl.ignore_eovercrowded();
stub.Echo(&cntl, &request, &response, brpc::DoNothing());
brpc::Join(cntl.call_id());
if (!cntl.Failed()) {
LOG(INFO) << "Received response from " << cntl.remote_side()
<< " to " << cntl.local_side()
<< ": " << response.message() << " (attached="
<< cntl.response_attachment() << ")"
<< " latency=" << cntl.latency_us() << "us";
} else {
LOG(WARNING) << cntl.ErrorText();
}
```
错误在cntl.ErrorText();打印出来的
--
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.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]