You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@servicecomb.apache.org by GitBox <gi...@apache.org> on 2021/06/14 07:15:17 UTC

[GitHub] [servicecomb-java-chassis] five111 opened a new issue #2411: 微服务之间调用逻辑 当http返回状态码为异常码时 代码直接进入了异常

five111 opened a new issue #2411:
URL: https://github.com/apache/servicecomb-java-chassis/issues/2411


   ![image](https://user-images.githubusercontent.com/19482564/121671779-91f2e880-cae1-11eb-91d3-df64eefd3498.png)
   这个接口返回的状态吗是500 或者403 我希望通过http状态码去处理一部分逻辑
   但是代码直接进入了这个
   
   ![image](https://user-images.githubusercontent.com/19482564/121671952-c5ce0e00-cae1-11eb-9a1f-37810483be01.png)
   
   
   
   
   
   


-- 
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



[GitHub] [servicecomb-java-chassis] liubao68 commented on issue #2411: 微服务之间调用逻辑 当http返回状态码为异常码时 代码直接进入了异常

Posted by GitBox <gi...@apache.org>.
liubao68 commented on issue #2411:
URL: https://github.com/apache/servicecomb-java-chassis/issues/2411#issuecomment-861211733


   可以参考下[异常处理](http://servicecomb.gitee.io/servicecomb-java-chassis-doc/java-chassis/zh_CN/general-development/error-handling.html) 的描述 


-- 
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



[GitHub] [servicecomb-java-chassis] five111 closed issue #2411: 微服务之间调用逻辑 当http返回状态码为异常码时 代码直接进入了异常

Posted by GitBox <gi...@apache.org>.
five111 closed issue #2411:
URL: https://github.com/apache/servicecomb-java-chassis/issues/2411


   


-- 
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