comparison backend/src/main/java/org/dive4elements/river/importer/parsers/InfoGewParser.java @ 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 4dd33b86dc61
children 4c3ccf2b0304
comparison
equal deleted inserted replaced
5855:cff1eea9854f 5856:c7b6561af370
111 wst = new File(root, wstFilename); 111 wst = new File(root, wstFilename);
112 } 112 }
113 wst = FileTools.repair(wst); 113 wst = FileTools.repair(wst);
114 log.info("Found wst file '" + wst + "'"); 114 log.info("Found wst file '" + wst + "'");
115 if (!wst.isFile() || !wst.canRead()) { 115 if (!wst.isFile() || !wst.canRead()) {
116 log.warn("cannot access WST file '" + wstFilename + "'"); 116 log.error("cannot access WST file '" + wstFilename + "'");
117 continue; 117 continue;
118 } 118 }
119 wstFile = wst; 119 wstFile = wst;
120 } 120 }
121 else if ((m = BB_INFO.matcher(line)).matches()) { 121 else if ((m = BB_INFO.matcher(line)).matches()) {

http://dive4elements.wald.intevation.org