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


   
在利用edge做边缘服务与其他服务交互时,证书的校验出现异常。然而我发现在发生异常的时候,异常被handler捕获了,这个异常并没有被抛出,而抛出了490,请问在现有的代码中,是否存在钩子之类的方法可以拿到该异常?
   RestClientInvocation.java#invoke(Invocation invocation, AsyncResponse 
asyncResp)
   ```
   clientRequest.exceptionHandler(e -> {
         invocation.getTraceIdLogger().error(LOGGER, "Failed to send request, 
local:{}, remote:{}.",
             getLocalAddress(), ipPort.getSocketAddress(), e);
         throwableHandler.handle(e);
       });
   ```


----------------------------------------------------------------
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:
[email protected]


Reply via email to