[Dive4elements-commits] [PATCH] BHP: more informative error instead of warning if file can not be imported

Wald Commits scm-commit at wald.intevation.org
Mon May 6 11:38:57 CEST 2013


# HG changeset patch
# User Tom Gottfried <tom at intevation.de>
# Date 1367833130 -7200
# Node ID 92bc0aa3831db3717c07d4939894e54f5a05d896
# Parent  8698e3284b7ac392c9da96fc897d925aa61a1df6
BHP: more informative error instead of warning if file can not be imported.

diff -r 8698e3284b7a -r 92bc0aa3831d backend/src/main/java/org/dive4elements/river/importer/parsers/BedHeightParser.java
--- a/backend/src/main/java/org/dive4elements/river/importer/parsers/BedHeightParser.java	Fri May 03 18:03:41 2013 +0200
+++ b/backend/src/main/java/org/dive4elements/river/importer/parsers/BedHeightParser.java	Mon May 06 11:38:50 2013 +0200
@@ -355,7 +355,7 @@
                 return true;
             }
 
-            log.warn("Unknown bed height type: '" + tmp + "'");
+            log.error("Unknown bed height type: '" + tmp + "'. File ignored.");
         }
 
         return false;


More information about the Dive4elements-commits mailing list