Bluselye commented on issue #1610: ServiceComb在RPC调用时如果业务请求报错了怎么样才能拿到请求报错的InvocationContext ? URL: https://github.com/apache/servicecomb-java-chassis/issues/1610#issuecomment-593871950 这个试了下,获取到的是Service的不是作为Client的InvocationContext try{ rpc.method }catch(Exception e){ InvocationContext context = ContextUtils.getInvocationContext(); // 这个获取的是作为Service的,而此时我想要获取的是这个RPC调用时(作为Client)时的InvocationContext }
---------------------------------------------------------------- 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] With regards, Apache Git Services
