liubao68 commented on issue #2051: URL: https://github.com/apache/servicecomb-java-chassis/issues/2051#issuecomment-725815198
按照 java-chasiss 的设计约束, 是不能将服务端的异常序列化返回给 client 的。 比较推荐的做法是服务端捕获异常,然后返回合理的错误码和错误消息。 详细参考[异常处理](https://docs.servicecomb.io/java-chassis/zh_CN/general-development/error-handling/)。 ---------------------------------------------------------------- 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]
