mirror of
https://github.com/PhotonVision/photonvision
synced 2026-06-28 02:11:40 +00:00
Set a more sane timeout for WS connections and log WS errors (#1992)
This commit is contained in:
@@ -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);
|
||||
});
|
||||
|
||||
|
||||
Reference in New Issue
Block a user