datasophon icon indicating copy to clipboard operation
datasophon copied to clipboard

[Improvement][api] The host environment verification host fails due to reasons such as not configuring password-free login. The front-end detection result column can give the reason for the failure

Open liu-hai opened this issue 2 years ago • 1 comments

Search before asking

  • [X] I had searched in the issues and found no similar feature requirement.

Description

主机环境校验这一步要是因为没有配置免密登录连接的时候会直接抛异常,后端捕获之后直接 throw new RuntimeException(e);,并未进行其它处理,前端不清楚因为什么原因导致的失败

image

Are you willing to submit a PR?

  • [ ] Yes I am willing to submit a PR!

Code of Conduct

liu-hai avatar Aug 29 '23 02:08 liu-hai

Search before asking

  • [X] I had searched in the issues and found no similar feature requirement.

Description

If the host environment verification step is not configured with a password-free login connection, an exception will be thrown directly. After the backend captures it, it will directly throw new RuntimeException(e); without any other processing. The frontend does not know what caused the failure.

image

Are you willing to submit a PR?

  • [ ] Yes I am willing to submit a PR!

Code of Conduct

github-actions[bot] avatar Aug 29 '23 02:08 github-actions[bot]