Skip to content

Commit

Permalink
[fix](es-catalog) If the returned data is incorrect, it will be direc…
Browse files Browse the repository at this point in the history
…tly unified as the index was not found (#24831)
  • Loading branch information
liugddx authored Sep 26, 2023
1 parent 841e618 commit 504ab2d
Showing 1 changed file with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -266,7 +266,8 @@ private String execute(String path) throws DorisEsException {
if (response.isSuccessful()) {
return response.body().string();
} else {
LOG.warn("request response code: {}, body: {}", response.code(), response.body().string());
LOG.warn("request response code: {}, body: {}", response.code(), response.message());
scratchExceptionForThrow = new DorisEsException(response.message());
}
} catch (IOException e) {
LOG.warn("request node [{}] [{}] failures {}, try next nodes", currentNode, path, e);
Expand Down

0 comments on commit 504ab2d

Please sign in to comment.