diff --git a/cmd/api/api.go b/cmd/api/api.go index 55b935d1..940130b9 100644 --- a/cmd/api/api.go +++ b/cmd/api/api.go @@ -141,11 +141,7 @@ func apiWS(w http.ResponseWriter, r *http.Request) { for { msg := new(streamer.Message) if err := ctx.Conn.ReadJSON(msg); err != nil { - if websocket.IsUnexpectedCloseError( - err, websocket.CloseGoingAway, websocket.CloseAbnormalClosure, - ) { - log.Error().Err(err).Msg("[api.ws] readJSON") - } + log.Trace().Err(err).Caller().Send() return }