[Dive4elements-commits] [PATCH] Bedheight parser: improved logging
Wald Commits
scm-commit at wald.intevation.org
Fri Jun 7 18:08:48 CEST 2013
# HG changeset patch
# User Tom Gottfried <tom.gottfried at intevation.de>
# Date 1370621325 -7200
# Node ID 52d4175cb33135e170087aa947aa7184b94022d4
# Parent c2c5ac7c174300fa56b038a2b9a249d711b4fae2
Bedheight parser: improved logging
diff -r c2c5ac7c1743 -r 52d4175cb331 backend/src/main/java/org/dive4elements/river/importer/parsers/BedHeightParser.java
--- a/backend/src/main/java/org/dive4elements/river/importer/parsers/BedHeightParser.java Fri Jun 07 17:52:10 2013 +0200
+++ b/backend/src/main/java/org/dive4elements/river/importer/parsers/BedHeightParser.java Fri Jun 07 18:08:45 2013 +0200
@@ -273,10 +273,11 @@
return true;
}
catch (NumberFormatException e) {
- log.warn("BHP: Could not parse sounding width: " + line, e);
- log.warn("-> Set default value '0'");
+ log.warn("BHP: Could not parse sounding width in line '" + line +
+ "'. -> Set default value '0'");
}
obj.setSoundingWidth(0);
+ return true;
}
return false;
More information about the Dive4elements-commits
mailing list