incubator-hugegraph
incubator-hugegraph copied to clipboard
[Improvement] add error messages when starting the hugegraph-server fails in the function wait_for_startup of util.sh
Feature Description (功能描述)
When we fail to curl in the function
wait_for_startup
in the following code (I guess),
status=$(curl -I -s -k -w "%{http_code}" -o /dev/null "$server_url")
there are no error messages of logs
So, we should ensure that we can get the error message instead of waiting for timeout