[Dive4elements-commits] [PATCH] it's worth more than a warning if the import is likely to fail

Wald Commits scm-commit at wald.intevation.org
Fri Apr 26 19:12:20 CEST 2013


# HG changeset patch
# User Tom Gottfried <tom.gottfried at intevation.de>
# Date 1366996333 -7200
# Node ID c7b6561af370bc40d9c8d25666bb980188206949
# Parent  cff1eea9854fa0a6f6342e471c371537661d5982
it's worth more than a warning if the import is likely to fail

diff -r cff1eea9854f -r c7b6561af370 backend/src/main/java/org/dive4elements/river/importer/parsers/InfoGewParser.java
--- 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;


More information about the Dive4elements-commits mailing list