Thanks to visit codestin.com
Credit goes to github.com

Skip to content
This repository was archived by the owner on Jul 30, 2025. It is now read-only.

Commit d8e98d9

Browse files
author
Dmytro Chyzhykov
committed
Merge pull request cucumber#533 from deadmoto/master
Fixed issue cucumber#532: JUnitFormatter does not throw exception in done() method. Closes cucumber#532, cucumber#533
2 parents 337c9e5 + 2586aa5 commit d8e98d9

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

core/src/main/java/cucumber/runtime/formatter/JUnitFormatter.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -97,7 +97,7 @@ public void done() {
9797
DOMSource source = new DOMSource(doc);
9898
trans.transform(source, result);
9999
} catch (TransformerException e) {
100-
new CucumberException("Error while transforming.", e);
100+
throw new CucumberException("Error while transforming.", e);
101101
}
102102
}
103103

0 commit comments

Comments
 (0)