Skip to content

Commit

Permalink
add warn log for ShardRequest Exceptions (#37)
Browse files Browse the repository at this point in the history
  • Loading branch information
nginthfs authored Nov 29, 2022
1 parent a209409 commit 56fbf89
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -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();
Expand Down

0 comments on commit 56fbf89

Please sign in to comment.