Mercurial > lada > lada-server
changeset 1138:5f7685bb8214
Stop the import if the parser has detected an error.
author | Raimund Renkert <raimund.renkert@intevation.de> |
---|---|
date | Tue, 01 Nov 2016 16:57:52 +0100 |
parents | cf65bdff7843 |
children | fb90e4d8bd0d |
files | src/main/java/de/intevation/lada/importer/laf/LafImporter.java |
diffstat | 1 files changed, 1 insertions(+), 0 deletions(-) [+] |
line wrap: on
line diff
--- a/src/main/java/de/intevation/lada/importer/laf/LafImporter.java Tue Nov 01 15:18:30 2016 +0100 +++ b/src/main/java/de/intevation/lada/importer/laf/LafImporter.java Tue Nov 01 16:57:52 2016 +0100 @@ -62,6 +62,7 @@ } if (!errorListener.getErrors().isEmpty()) { errors.put("parser", errorListener.getErrors()); + return; } errors.putAll(listener.getErrors()); mapper.setUserInfo(userInfo);