Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

brpc的baidu协议不支持catch异常,是处于什么考虑 #681

Closed
hairet opened this issue Mar 8, 2019 · 1 comment
Closed

brpc的baidu协议不支持catch异常,是处于什么考虑 #681

hairet opened this issue Mar 8, 2019 · 1 comment
Labels
bug the code does not work as expected

Comments

@hairet
Copy link

hairet commented Mar 8, 2019

Is your feature request related to a problem? (你需要的功能是否与某个问题有关?)

现在有些业务调用一些底层库会抛异常,但是只有thrift等协议会catch,而如果是baidu协议,会一直回溯到完全无关的堆栈再coredump,不利于提示业务分析问题。
Describe the solution you'd like (描述你期望的解决方法)
想了解下这里不catch 异常的原因?

Describe alternatives you've considered (描述你想到的折衷方案)
暂时考虑在baidu协议里面自行cacth异常,log出来再 assert

Additional context/screenshots (更多上下文/截图)

@wwbmmm wwbmmm added the bug the code does not work as expected label Apr 19, 2023
@chenBright
Copy link
Contributor

#2256

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug the code does not work as expected
Projects
None yet
Development

No branches or pull requests

3 participants