From 22f2ff1169144d67a5ae5780e76984ea1a638ccf Mon Sep 17 00:00:00 2001 From: Valentin Spiroski Date: Sun, 4 Feb 2024 23:48:42 +0100 Subject: [PATCH] small correction --- src/main/java/ClientHandler.java | 1 + 1 file changed, 1 insertion(+) diff --git a/src/main/java/ClientHandler.java b/src/main/java/ClientHandler.java index 5561e3c..9c52f54 100644 --- a/src/main/java/ClientHandler.java +++ b/src/main/java/ClientHandler.java @@ -41,6 +41,7 @@ public class ClientHandler implements Runnable { e.printStackTrace(); } finally { //chatServer.removeClient(this); + throw new RuntimeException(e); chatServer.broadcastMessage(name + " disconnected."); if (fromClientReader != null) {