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 2022/11/16 17:02:29 UTC

[GitHub] [incubator-brpc] guodongxiaren commented on issue #1997: 程序内部core但是core栈不完整

guodongxiaren commented on issue #1997:
URL: https://github.com/apache/incubator-brpc/issues/1997#issuecomment-1317356357

   这个是你业务代码抛出了异常,没有catch,异常逃逸到了brpc框架内。本质原因是业务代码的问题,不是brpc的问题。
   建议给service函数接口加上noexcept声明,这样不会core栈更准确,不会在brpc框架内部。你业务代码中调用的函数也可以加上noexcept,方便core的时候定位问题。


-- 
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: dev-unsubscribe@brpc.apache.org

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