We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 2ed94b9 + f08cbfd commit af1700eCopy full SHA for af1700e
1 file changed
src/main/java/io/codeclou/java/junit/xml/merger/JunitXmlParser.java
@@ -117,7 +117,12 @@ protected void run(String[] args) throws Exception {
117
for (File f : filesList) {
118
if (f.getAbsoluteFile().toString().endsWith(".xml")) {
119
System.out.println("\033[32;1;2mInfo >> adding " + f.getName() + " to TestSuites\033[0m");
120
- suites.getTestSuites().add(parseTestSuite(f));
+ try {
121
+ suites.getTestSuites().add(parseTestSuite(f));
122
+ } catch (Exception e) {
123
+ System.out.println("\033[31;1mError >> the file " + f.getName() + " cannot be read: ignored\033[0m");
124
+ e.printStackTrace();
125
+ }
126
}
127
128
Document xml = suites.toXml();
0 commit comments