returnToInnocence commented on issue #586: URL: https://github.com/apache/incubator-hugegraph-toolchain/issues/586#issuecomment-1988675211
@dosu-bot 我希望针对 hugegraph-hubble/hubble-be/src/main/java/org/apache/hugegraph/util/HugeClientUtil.java 中的 tryConnect 中 catch 到的 ServerException 的结果进行封装,这是由于以下原因: 1. 暴露了接口的实现细节,如网络连接方式 2. 暴露了接口的错误处理逻辑,没有对错误信息进行过滤和脱敏 因此我希望对于最终 throw 的异常进行封装,可以考虑在 hugegraph-hubble/hubble-be/src/main/java/org/apache/hugegraph/exception/ExternalException.java 的基础上,统一封装 message 和 cause,或者其他更多方式,请问你可以给我一些建议吗? -- 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. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected] --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
