You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@lucene.apache.org by ma...@apache.org on 2020/10/01 23:46:48 UTC
[lucene-solr] 07/26: @890 Harden async.
This is an automated email from the ASF dual-hosted git repository.
markrmiller pushed a commit to branch reference_impl_dev
in repository https://gitbox.apache.org/repos/asf/lucene-solr.git
commit a3b0c15ae93f52853964eba1c99d8a08b34a6a7e
Author: markrmiller@gmail.com <ma...@gmail.com>
AuthorDate: Thu Oct 1 09:49:18 2020 -0500
@890 Harden async.
---
.../src/java/org/apache/solr/client/solrj/impl/Http2SolrClient.java | 1 +
1 file changed, 1 insertion(+)
diff --git a/solr/solrj/src/java/org/apache/solr/client/solrj/impl/Http2SolrClient.java b/solr/solrj/src/java/org/apache/solr/client/solrj/impl/Http2SolrClient.java
index 2974ba8..b83dcca 100644
--- a/solr/solrj/src/java/org/apache/solr/client/solrj/impl/Http2SolrClient.java
+++ b/solr/solrj/src/java/org/apache/solr/client/solrj/impl/Http2SolrClient.java
@@ -468,6 +468,7 @@ public class Http2SolrClient extends SolrClient {
}
});
} catch (Exception e) {
+ asyncListener.onFailure(e);
asyncTracker.arrive();
throw new SolrException(SolrException.ErrorCode.UNKNOWN, e);
}