Skip to content

Commit b6d043a

Browse files
committed
Refactor ProcessWrapper.safeGetPid() to ignore all Throwable objects.
1 parent c85f120 commit b6d043a

File tree

1 file changed

+1
-1
lines changed
  • spring-data-geode-test/src/main/java/org/springframework/data/gemfire/tests/process

1 file changed

+1
-1
lines changed

spring-data-geode-test/src/main/java/org/springframework/data/gemfire/tests/process/ProcessWrapper.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -180,7 +180,7 @@ public int safeGetPid() {
180180
try {
181181
return getPid();
182182
}
183-
catch (PidNotFoundException ignore) {
183+
catch (Throwable ignore) {
184184
return -1;
185185
}
186186
}

0 commit comments

Comments
 (0)