commit 29fc4e462e3f44ede756bdfd82021d1d242f0c09 Author: Mauro Talevi <mauro.tal...@aquilonia.org> AuthorDate: Tue, 18 Nov 2014 20:57:51 +0000 Commit: Mauro Talevi <mauro.tal...@aquilonia.org> CommitDate: Tue, 18 Nov 2014 20:57:51 +0000
JBEHAVE-1055: Removed stacktrace when story durations file is not found. diff --git a/jbehave-core/src/main/java/org/jbehave/core/reporters/TemplateableViewGenerator.java b/jbehave-core/src/main/java/org/jbehave/core/reporters/TemplateableViewGenerator.java index e86e536..7bd5c21 100644 --- a/jbehave-core/src/main/java/org/jbehave/core/reporters/TemplateableViewGenerator.java +++ b/jbehave-core/src/main/java/org/jbehave/core/reporters/TemplateableViewGenerator.java @@ -122,7 +122,7 @@ public class TemplateableViewGenerator implements ViewGenerator { try { p.load(new FileReader(new File(outputDirectory, "storyDurations.props"))); } catch (IOException e) { - e.printStackTrace(); + // story durations file not found - carry on } Map<String,Long> durations = new HashMap<String, Long>(); for ( Object key : p.keySet() ){