liubao68 commented on issue #59: URL: https://github.com/apache/servicecomb-samples/issues/59#issuecomment-722942379
不可以直接返回原始异常的。一方面是考虑exception的序列化问题,java-chassis是类型无关(跨语言)的RPC,不能包含类型信息;另一方面不反悔原始异常也是考虑信息泄露问题。 可以考虑[异常处理](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]
