From 607b5e451f254444883f97903ae494b3fd156d9d Mon Sep 17 00:00:00 2001 From: Patrique Legault Date: Wed, 5 Jun 2024 14:54:34 -0400 Subject: [PATCH] Adding set error to search result retriever --- .../core/search/internal/services/SearchResultsServiceImpl.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bundles/core/src/main/java/com/adobe/cq/commerce/core/search/internal/services/SearchResultsServiceImpl.java b/bundles/core/src/main/java/com/adobe/cq/commerce/core/search/internal/services/SearchResultsServiceImpl.java index bbfb6d74c..1cc193c88 100644 --- a/bundles/core/src/main/java/com/adobe/cq/commerce/core/search/internal/services/SearchResultsServiceImpl.java +++ b/bundles/core/src/main/java/com/adobe/cq/commerce/core/search/internal/services/SearchResultsServiceImpl.java @@ -230,7 +230,7 @@ public Pair LOGGER.error("An error has occurred: {} ({})", err.getMessage(), err.getCategory())); - + searchResultsSet.setErrors(errors); return new ImmutablePair<>(category, searchResultsSet); }