catch IllegalArgumentException in case directory does not exists (#487)

Signed-off-by: Michael Hirsch <michael.hirsch@bosch-si.com>
This commit is contained in:
Michael Hirsch
2017-04-18 11:57:23 +02:00
committed by Kai Zimmermann
parent f99da28185
commit 89ec5dba57

View File

@@ -294,7 +294,7 @@ public abstract class AbstractIntegrationTest implements EnvironmentAware {
public void cleanUp() {
try {
FileUtils.deleteDirectory(new File(artifactFilesystemProperties.getPath()));
} catch (final IOException e) {
} catch (final IOException | IllegalArgumentException e) {
LOG.warn("Cannot cleanup file-directory", e);
}
}