You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: spring-boot-project/spring-boot-docker-compose/src/main/java/org/springframework/boot/docker/compose/core/ProcessRunner.java
+3-1Lines changed: 3 additions & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -122,7 +122,8 @@ private int waitForProcess(Process process) {
122
122
returnprocess.waitFor();
123
123
}
124
124
catch (InterruptedExceptionex) {
125
-
thrownewIllegalStateException("Interrupted waiting for %s".formatted(process));
125
+
Thread.currentThread().interrupt();
126
+
thrownewIllegalStateException("Interrupted waiting for %s".formatted(process), ex);
0 commit comments