Catch any exception when deleting image building workspace

See gh-40760
This commit is contained in:
Scott Frederick 2024-05-16 21:19:51 -05:00
parent cd441130bd
commit bdc6508b62

View File

@ -323,7 +323,7 @@ class Lifecycle implements Closeable {
try {
FileSystemUtils.deleteRecursively(Path.of(bind.getSource()));
}
catch (IOException ex) {
catch (Exception ex) {
this.log.failedCleaningWorkDir(bind, ex);
}
}