Skip to content

Commit

Permalink
fix(java) Fixes NPE ES service (#9311)
Browse files Browse the repository at this point in the history
  • Loading branch information
chriscollins3456 authored Nov 27, 2023
1 parent a9650b6 commit 27127eb
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -144,7 +144,7 @@ public AutoCompleteResult autoComplete(@Nonnull String entityName, @Nonnull Stri
@Override
public Map<String, Long> aggregateByValue(@Nullable List<String> entityNames, @Nonnull String field,
@Nullable Filter requestParams, int limit) {
log.debug("Aggregating by value: {}, field: {}, requestParams: {}, limit: {}", entityNames.toString(), field,
log.debug("Aggregating by value: {}, field: {}, requestParams: {}, limit: {}", entityNames != null ? entityNames.toString() : null, field,
requestParams, limit);
return esSearchDAO.aggregateByValue(entityNames, field, requestParams, limit);
}
Expand Down

0 comments on commit 27127eb

Please sign in to comment.