incubator-hugegraph icon indicating copy to clipboard operation
incubator-hugegraph copied to clipboard

[Improvement] add error messages when starting the hugegraph-server fails in the function wait_for_startup of util.sh

Open aroundabout opened this issue 1 year ago • 0 comments

Feature Description (功能描述)

img_v3_026a_2464d106-082c-4ec3-bd62-bb132b5e1c0g 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 image

So, we should ensure that we can get the error message instead of waiting for timeout

aroundabout avatar Dec 20 '23 12:12 aroundabout