We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent b007328 commit cfa54c8Copy full SHA for cfa54c8
src/main/java/org/metafacture/solr/SolrCommitProcess.java
@@ -85,8 +85,14 @@ private boolean commit(List<SolrInputDocument> documents) {
85
if (response.getStatus() != 0) {
86
return false;
87
}
88
+ } catch (IOException e) {
89
+ System.err.println("Could not commit batch, due to communication error: " + e.getMessage());
90
+ return false;
91
+ } catch (SolrServerException e) {
92
+ System.err.println("Could not commit batch, due to server error: " + e.getMessage());
93
94
} catch (Exception e) {
- System.err.println("Could not commit batch, due to " + e.getMessage());
95
+ System.err.println("Could not commit batch, due to unknown error: " + e.getMessage());
96
97
98
return true;
0 commit comments