Skip to content

Commit e50d797

Browse files
committed
Terminate if the Unix socket has closed
1 parent 7231977 commit e50d797

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

src/main/java/uk/ac/cam/cl/cadets/UnixSocketServerThread.java

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -88,6 +88,8 @@ public void run() {
8888
} catch (IOException e) {
8989
LOGGER.error("Error calling accept on serverSocket {}",
9090
e.getMessage());
91+
throw new ConnectException(
92+
"Error calling accept on serverSocket", e);
9193
}
9294
}
9395
}

0 commit comments

Comments
 (0)