Revision 9368
Added by Jing Tao about 9 years ago
metacat-index/src/main/java/edu/ucsb/nceas/metacat/index/SolrIndex.java | ||
---|---|---|
235 | 235 |
docs = subprocessor.processDocument(id, docs, dataStream); |
236 | 236 |
} |
237 | 237 |
} catch (Exception e) { |
238 |
e.printStackTrace(); |
|
238 | 239 |
log.error(e.getMessage(), e); |
239 | 240 |
throw new SolrServerException(e.getMessage()); |
240 | 241 |
} |
Also available in: Unified diff
Add the code to print the exception.