diff --git a/pom.xml b/pom.xml index dd2f437ef..556431d34 100644 --- a/pom.xml +++ b/pom.xml @@ -255,7 +255,7 @@ commons-io commons-io - 2.7 + 2.11.0 org.jsoup diff --git a/src/main/java/net/masterthought/cucumber/ReportBuilder.java b/src/main/java/net/masterthought/cucumber/ReportBuilder.java index 57cb29d0c..2d846c6e0 100755 --- a/src/main/java/net/masterthought/cucumber/ReportBuilder.java +++ b/src/main/java/net/masterthought/cucumber/ReportBuilder.java @@ -175,7 +175,7 @@ private void copyCustomResources(String resourceLocation, File srcFile) { } catch (FileNotFoundException e) { LOG.log(Level.WARNING, "File not found: {0}", srcFile.getAbsolutePath()); LOG.log(Level.FINE, "", e); - } catch (IOException e) { + } catch (IOException | IllegalArgumentException e) { throw new ValidationException(e); } }