diff --git a/.github/workflows/hqps-db-ci.yml b/.github/workflows/hqps-db-ci.yml index 7872fd5a0105..a2cea64d4bfd 100644 --- a/.github/workflows/hqps-db-ci.yml +++ b/.github/workflows/hqps-db-ci.yml @@ -116,6 +116,7 @@ jobs: GS_TEST_DIR: ${{ github.workspace }}/gstest FLEX_DATA_DIR: ${{ github.workspace }}/flex/interactive/examples/modern_graph TMP_INTERACTIVE_WORKSPACE: /tmp/temp_workspace + LD_LIBRARY_PATH: /usr/local/lib run: | cd ${GITHUB_WORKSPACE}/flex/build/ SCHEMA_FILE=${GITHUB_WORKSPACE}/flex/interactive/examples/modern_graph/graph.yaml diff --git a/flex/.devcontainer.json b/flex/.devcontainer.json index 517662eb99af..8e20e6284157 100644 --- a/flex/.devcontainer.json +++ b/flex/.devcontainer.json @@ -27,7 +27,6 @@ } }, // Set `remoteUser` to `root` to connect as root instead. More info: https://aka.ms/vscode-remote/containers/non-root. - "remoteUser": "root", + "remoteUser": "graphscope", "postCreateCommand": "sudo chown -R graphscope /workspaces && bash pre-commit/install-hook.sh && bash pre-commit/prepare-commit-msg" -} - +} \ No newline at end of file diff --git a/flex/engines/http_server/actor/executor.act.cc b/flex/engines/http_server/actor/executor.act.cc index e0bcdcaeb177..aba73eca0f74 100644 --- a/flex/engines/http_server/actor/executor.act.cc +++ b/flex/engines/http_server/actor/executor.act.cc @@ -42,6 +42,8 @@ seastar::future executor::run_graph_db_query( .Eval(param.content); if (!ret.ok()) { LOG(ERROR) << "Eval failed: " << ret.status().error_message(); + return seastar::make_exception_future( + "Query failed: " + ret.status().error_message()); } auto result = ret.value(); seastar::sstring content(result.data(), result.size());