Skip to content

Commit

Permalink
error
Browse files Browse the repository at this point in the history
  • Loading branch information
aarshi0301 committed Nov 13, 2024
1 parent 1bb9d42 commit ce06a59
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -207,6 +207,7 @@ private DirectIndexQueryResult performAsyncDirectIndexQuery(SearchParams searchP
if (response == null) {
// Rather than null (if the response is null wil help returning @204 HTTP_NO_CONTENT to the user)
// return timeout exception to user
LOG.error("query timeout exceeded {}:", searchParams.getQuery());
throw new AtlasBaseException(AtlasErrorCode.INDEX_SEARCH_FAILED_DUE_TO_TIMEOUT, KeepAliveTime);
}
result = getResultFromResponse(response.getFullResponse(), true);
Expand Down

0 comments on commit ce06a59

Please sign in to comment.