mirror of
https://github.com/spring-projects/spring-boot.git
synced 2024-07-15 01:07:30 +08:00
Catch any exception when deleting image building workspace
See gh-40760
This commit is contained in:
parent
cd441130bd
commit
bdc6508b62
@ -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);
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user