mirror of
https://github.com/spring-projects/spring-boot.git
synced 2024-09-03 04:26:12 +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 {
|
try {
|
||||||
FileSystemUtils.deleteRecursively(Path.of(bind.getSource()));
|
FileSystemUtils.deleteRecursively(Path.of(bind.getSource()));
|
||||||
}
|
}
|
||||||
catch (IOException ex) {
|
catch (Exception ex) {
|
||||||
this.log.failedCleaningWorkDir(bind, ex);
|
this.log.failedCleaningWorkDir(bind, ex);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user