changeset 5856:c7b6561af370

it's worth more than a warning if the import is likely to fail
author Tom Gottfried <tom.gottfried@intevation.de>
date Fri, 26 Apr 2013 19:12:13 +0200
parents cff1eea9854f
children 60141466b503
files backend/src/main/java/org/dive4elements/river/importer/parsers/InfoGewParser.java
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/backend/src/main/java/org/dive4elements/river/importer/parsers/InfoGewParser.java	Fri Apr 26 18:13:58 2013 +0200
+++ b/backend/src/main/java/org/dive4elements/river/importer/parsers/InfoGewParser.java	Fri Apr 26 19:12:13 2013 +0200
@@ -113,7 +113,7 @@
                     wst = FileTools.repair(wst);
                     log.info("Found wst file '" + wst + "'");
                     if (!wst.isFile() || !wst.canRead()) {
-                        log.warn("cannot access WST file '" + wstFilename + "'");
+                        log.error("cannot access WST file '" + wstFilename + "'");
                         continue;
                     }
                     wstFile = wst;

http://dive4elements.wald.intevation.org