Revision dda75841
Added by Andreas Müller almost 7 years ago
cdm-pesi/src/main/java/eu/etaxonomy/cdm/io/pesi/out/old/PesiNoteExport.java | ||
---|---|---|
118 | 118 |
logger.info("*** Finished Making " + pluralString + " ..." + getSuccessString(success)); |
119 | 119 |
|
120 | 120 |
if (!success){ |
121 |
state.setUnsuccessfull();
|
|
121 |
state.getResult().addError("An error occurred in PesiNoteExport");
|
|
122 | 122 |
} |
123 | 123 |
return; |
124 | 124 |
} catch (SQLException e) { |
125 | 125 |
e.printStackTrace(); |
126 | 126 |
logger.error(e.getMessage()); |
127 |
state.setUnsuccessfull();
|
|
127 |
state.getResult().addException(e);
|
|
128 | 128 |
} |
129 | 129 |
} |
130 | 130 |
|
Also available in: Unified diff
ref #6541 adapt pesi to ImportResult (II)