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 2019/08/08 01:15:51 UTC
[GitHub] [servicecomb-java-chassis] liubao68 edited a comment on issue
#1288: unknown rest exception.
liubao68 edited a comment on issue #1288: unknown rest exception.
URL: https://github.com/apache/servicecomb-java-chassis/issues/1288#issuecomment-519324121
可以看看下面的介绍能否帮到你:
https://docs.servicecomb.io/java-chassis/zh_CN/general-development/error-handling.html
另外,
使用Handler进行全局异常处理也是一个方案。
```
MyHandler imeplements Handler {
handle -> { try {} catch(Exception) {}}
}
servicecomb:
handler:
chain:
Consumer:
default: myhander, xxx...
Provider:
default: myhander,xxx...
```
----------------------------------------------------------------
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
With regards,
Apache Git Services