Skip to content

Commit bdc6508

Browse files
Catch any exception when deleting image building workspace
See gh-40760
1 parent cd44113 commit bdc6508

File tree

1 file changed

+1
-1
lines changed
  • spring-boot-project/spring-boot-tools/spring-boot-buildpack-platform/src/main/java/org/springframework/boot/buildpack/platform/build

1 file changed

+1
-1
lines changed

spring-boot-project/spring-boot-tools/spring-boot-buildpack-platform/src/main/java/org/springframework/boot/buildpack/platform/build/Lifecycle.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -323,7 +323,7 @@ private void deleteBind(Cache.Bind bind) {
323323
try {
324324
FileSystemUtils.deleteRecursively(Path.of(bind.getSource()));
325325
}
326-
catch (IOException ex) {
326+
catch (Exception ex) {
327327
this.log.failedCleaningWorkDir(bind, ex);
328328
}
329329
}

0 commit comments

Comments
 (0)