# HG changeset patch # User Andre Heinecke # Date 1414608726 -3600 # Node ID 572c102b181929f4b8e341b8526a8c0c95777beb # Parent 6dfc3a1fc70d411b631573519c54529cd66f6254 Improve error handling. diff -r 6dfc3a1fc70d -r 572c102b1819 artifacts/src/main/java/org/dive4elements/river/artifacts/states/FloodMapState.java --- a/artifacts/src/main/java/org/dive4elements/river/artifacts/states/FloodMapState.java Wed Oct 29 19:51:39 2014 +0100 +++ b/artifacts/src/main/java/org/dive4elements/river/artifacts/states/FloodMapState.java Wed Oct 29 19:52:06 2014 +0100 @@ -166,7 +166,7 @@ FileUtils.writeStringToFile(f, content.replaceAll(orig.identifier(), owner.identifier())); } catch (IOException e) { - log.debug("failed."); + log.error("Failed to rewrite file: " + f + " Error: " + e.getMessage()); } } }