[fix](es-catalog) If the returned data is incorrect, it will be directly unified as the index was not found (#24831)
This commit is contained in:
@ -266,7 +266,8 @@ public class EsRestClient {
|
||||
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);
|
||||
|
||||
Reference in New Issue
Block a user