Added exception message to init exception

This commit is contained in:
Brian Carrier 2014-02-25 22:31:54 -05:00
parent 885a0c0b7c
commit 7cc3e8f1f9

View File

@ -377,7 +377,7 @@ public final class KeywordSearchIngestModule extends IngestModuleAbstractFile {
// we had cases where getStatus was OK, but the connection resulted in a 404
server.queryNumIndexedDocuments();
} catch (KeywordSearchModuleException | NoOpenCoreException ex) {
throw new IngestModuleException("Error connecting to SOLR server");
throw new IngestModuleException("Error connecting to SOLR server: " + ex.getMessage());
}
//initialize extractors