Revision 8554
Added by ben leinfelder almost 11 years ago
metacat-index/src/main/java/edu/ucsb/nceas/metacat/index/SolrIndex.java | ||
---|---|---|
216 | 216 |
docs = subprocessor.processDocument(id, docs, docObject); |
217 | 217 |
} |
218 | 218 |
} catch (Exception e) { |
219 |
log.error(e.getStackTrace().toString());
|
|
219 |
log.error(e.getMessage(), e);
|
|
220 | 220 |
throw new SolrServerException(e.getMessage()); |
221 | 221 |
} |
222 | 222 |
} |
Also available in: Unified diff
correctly include stacktrace for error debugging.