catch IllegalArgumentException in case directory does not exists (#487)
Signed-off-by: Michael Hirsch <michael.hirsch@bosch-si.com>
This commit is contained in:
committed by
Kai Zimmermann
parent
f99da28185
commit
89ec5dba57
@@ -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);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user