liubao68 commented on issue #1663:
URL:
https://github.com/apache/servicecomb-java-chassis/issues/1663#issuecomment-706961694
Close old issues. Please feel free to open a new one.
This is an automated message from the
liubao68 commented on issue #1663:
mockmvc测试接口异常现象,用例不进入ExceptionToProducerResponseConverter
URL:
https://github.com/apache/servicecomb-java-chassis/issues/1663#issuecomment-604179612
`ProducerOperationHandler` 是 java-chassis 的类。 不过看你的异常堆栈,不像是 java-chassis
抛出的异常, 处理过程不是 java-chassis
liubao68 commented on issue #1663:
mockmvc测试接口异常现象,用例不进入ExceptionToProducerResponseConverter
URL:
https://github.com/apache/servicecomb-java-chassis/issues/1663#issuecomment-604171463
可以先检查下异常从哪里抛出。 如果你使用的最新版本, 可以看看 ProducerOperationHandler 的 doInvoke
方法,是否异常从这里抛出,如果不是, 则不会走