diff --git a/utils/wsutil/conn.go b/utils/wsutil/conn.go index b698915..00399f5 100644 --- a/utils/wsutil/conn.go +++ b/utils/wsutil/conn.go @@ -182,11 +182,6 @@ func startReadLoop(conn *websocket.Conn, eventCh chan<- Event) { return } - // Check if the error is a normal one: - if websocket.IsCloseError(err, websocket.CloseNormalClosure) { - return - } - // Unusual error; log and exit: eventCh <- Event{nil, errors.Wrap(err, "WS error")} return