commit 894408f43d0fda504550f65d24b8769b24053c22
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:58:19 +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() ){



Reply via email to