Skip to content

Commit

Permalink
log ES query error
Browse files Browse the repository at this point in the history
  • Loading branch information
aarshi0301 committed Nov 19, 2024
1 parent 54103c8 commit b903c7b
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -431,7 +431,7 @@ private String performDirectIndexQuery(String query, boolean source) throws Atla
LOG.warn(String.format("ES index with name %s not found", index));
throw new AtlasBaseException(INDEX_NOT_FOUND, index);
} else {
throw new AtlasBaseException(rex);
throw new AtlasBaseException(String.format("Error in executing elastic query: %s", EntityUtils.toString(entity)), rex);
}
}

Expand Down

0 comments on commit b903c7b

Please sign in to comment.