This is an automated email from the ASF dual-hosted git repository.

noble pushed a commit to branch jira/solr16636_test
in repository https://gitbox.apache.org/repos/asf/solr.git


The following commit(s) were added to refs/heads/jira/solr16636_test by this 
push:
     new adbce3bf10a added logging
adbce3bf10a is described below

commit adbce3bf10a5677c9f45228842ded2e4ac540427
Author: Noble Paul <[email protected]>
AuthorDate: Tue Feb 21 18:08:52 2023 +1100

    added logging
---
 .../src/java/org/apache/solr/common/cloud/ZkStateReader.java             | 1 +
 1 file changed, 1 insertion(+)

diff --git 
a/solr/solrj-zookeeper/src/java/org/apache/solr/common/cloud/ZkStateReader.java 
b/solr/solrj-zookeeper/src/java/org/apache/solr/common/cloud/ZkStateReader.java
index effda5bd1ab..f9d3398948b 100644
--- 
a/solr/solrj-zookeeper/src/java/org/apache/solr/common/cloud/ZkStateReader.java
+++ 
b/solr/solrj-zookeeper/src/java/org/apache/solr/common/cloud/ZkStateReader.java
@@ -1701,6 +1701,7 @@ public class ZkStateReader implements SolrCloseable {
     try {
       stat = zkClient.exists(collectionPath, null, false);
     } catch (Exception e) {
+      log.warn("unexpected exception: ",e);
       return null;
     }
     if (stat != null) {

Reply via email to