Project

General

Profile

« Previous | Next » 

Revision 8554

correctly include stacktrace for error debugging.

View differences:

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