Sync from fork #74
@ -181,6 +181,7 @@ func (s *websocketsServer) readLoop(wsConn *wsConn) {
|
|||||||
_, mb, err := wsConn.ReadMessage()
|
_, mb, err := wsConn.ReadMessage()
|
||||||
if err != nil {
|
if err != nil {
|
||||||
_ = wsConn.Close()
|
_ = wsConn.Close()
|
||||||
|
s.logger.Error("read message error, breaking read loop", "error", err.Error())
|
||||||
return
|
return
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user