We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent be7ec10 commit f9cad32Copy full SHA for f9cad32
core/src/main/java/cucumber/runtime/formatter/JUnitFormatter.java
@@ -137,9 +137,9 @@ private String sumTimes(NodeList testCaseNodes) {
137
Double.parseDouble(testCaseNodes.item(i).getAttributes().getNamedItem("time").getNodeValue());
138
totalDurationSecondsForAllTimes += testCaseTime;
139
} catch ( NumberFormatException e ) {
140
- e.printStackTrace();
+ throw new CucumberException(e);
141
} catch ( NullPointerException e ) {
142
143
}
144
145
DecimalFormat nfmt = (DecimalFormat) NumberFormat.getNumberInstance(Locale.US);
0 commit comments