Project

General

Profile

Revision 9aaa42dc

ID9aaa42dc3dc03717e21356412a07a954001d7634
Parent 22a88a49
Child 70709f18

Added by Andreas Kohlbecker over 1 year ago

fixing strange error logging in TestingTermInitializer and throwing RuntineException since error is unrecoverable

View differences:

cdmlib-test/src/main/java/eu/etaxonomy/cdm/database/TestingTermInitializer.java
124 124
                DatabaseOperation.CLEAN_INSERT.execute(connection, dataSet);
125 125

  
126 126
            } catch (Exception e) {
127
                logger.error(e);
128
                for(StackTraceElement ste : e.getStackTrace()) {
129
                    logger.error(ste);
130
                }
127
                logger.error(e.getMessage(), e);
128
                throw new RuntimeException(e);
131 129
            } finally {
132 130
//                try {
133 131
//                    this.transactionManager.commit(txStatus);

Also available in: Unified diff

Add picture from clipboard (Maximum size: 40 MB)