You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@dubbo.apache.org by GitBox <gi...@apache.org> on 2021/09/29 06:15:20 UTC

[GitHub] [dubbo] zhyusgethup opened a new issue #8950: 跟换ExceptionFilter失败, 求助

zhyusgethup opened a new issue #8950:
URL: https://github.com/apache/dubbo/issues/8950


   - [ ] I have searched the [issues](https://github.com/apache/dubbo/issues) of this repository and believe that this is not a duplicate.
   - [ ] [FAQ](https://github.com/apache/dubbo/blob/master/FAQ.md) 页面404
   
   ### Environment dubbo version:2.6.2
   * Operating System version: win10
   * Java version: 8
   
   在spring-cloud-gateway使用dubbo调用认证服务, 认证服务返回异常时是RpcException. 我希望能处理自定义异常.不断百度, 尝试, 花了不少时间还是失败. issues里面有接近的例子, 可惜具体链接404了. 求助. 谢谢.


-- 
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: notifications-unsubscribe@dubbo.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@dubbo.apache.org
For additional commands, e-mail: notifications-help@dubbo.apache.org


[GitHub] [dubbo] CrazyHZM commented on issue #8950: 跟换ExceptionFilter失败, 求助

Posted by GitBox <gi...@apache.org>.
CrazyHZM commented on issue #8950:
URL: https://github.com/apache/dubbo/issues/8950#issuecomment-997620381


   No feedback for a long time, please close the issue temporarily. If there is still a problem, you can reopen it.


-- 
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: notifications-unsubscribe@dubbo.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@dubbo.apache.org
For additional commands, e-mail: notifications-help@dubbo.apache.org


[GitHub] [dubbo] CrazyHZM commented on issue #8950: 跟换ExceptionFilter失败, 求助

Posted by GitBox <gi...@apache.org>.
CrazyHZM commented on issue #8950:
URL: https://github.com/apache/dubbo/issues/8950#issuecomment-931093222


   在Dubbo内是支持自定义异常的,只是用RpcException包裹了,可以尝试从中获取自定义的异常。
   如果要更换ExceptionFilter,你可以尝试自定义filter,然后调整Filter。或者升级到新版本,新版本支持自定义构建Filter链,可以扩展FilterChainBuilder来完成。


-- 
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: notifications-unsubscribe@dubbo.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@dubbo.apache.org
For additional commands, e-mail: notifications-help@dubbo.apache.org


[GitHub] [dubbo] CrazyHZM closed issue #8950: 跟换ExceptionFilter失败, 求助

Posted by GitBox <gi...@apache.org>.
CrazyHZM closed issue #8950:
URL: https://github.com/apache/dubbo/issues/8950


   


-- 
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: notifications-unsubscribe@dubbo.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@dubbo.apache.org
For additional commands, e-mail: notifications-help@dubbo.apache.org