From 8e66ed80732b29d105348ff69ce4b115e154a2be Mon Sep 17 00:00:00 2001 From: Nick Ginther Date: Mon, 28 Nov 2022 16:08:48 -0600 Subject: [PATCH] add warn log for ShardRequest Exceptions --- .../java/org/apache/solr/handler/component/SearchHandler.java | 1 + 1 file changed, 1 insertion(+) diff --git a/solr/core/src/java/org/apache/solr/handler/component/SearchHandler.java b/solr/core/src/java/org/apache/solr/handler/component/SearchHandler.java index d670ed954ad..ef99cbb400b 100644 --- a/solr/core/src/java/org/apache/solr/handler/component/SearchHandler.java +++ b/solr/core/src/java/org/apache/solr/handler/component/SearchHandler.java @@ -536,6 +536,7 @@ public void handleRequestBody(SolrQueryRequest req, SolrQueryResponse rsp) throw // Was there an exception? if (srsp.getException() != null) { + log.warn("Shard request failed : {}", srsp); // If things are not tolerant, abort everything and rethrow if (!tolerant) { shardHandler1.cancelAll();