Set a more sane timeout for WS connections and log WS errors (#1992)

This commit is contained in:
Gold856
2025-07-09 00:40:21 -04:00
committed by GitHub
parent d341ebbadf
commit 78f57600cc
2 changed files with 2 additions and 2 deletions

View File

@@ -109,6 +109,7 @@ public class Server {
ws -> {
ws.onConnect(dsHandler::onConnect);
ws.onClose(dsHandler::onClose);
ws.onError(e -> logger.error(e.toString(), e.error()));
ws.onBinaryMessage(dsHandler::onBinaryMessage);
});