diff --git a/pkg/xtermjs/handler_websocket.go b/pkg/xtermjs/handler_websocket.go index eff8e74..b456b2c 100644 --- a/pkg/xtermjs/handler_websocket.go +++ b/pkg/xtermjs/handler_websocket.go @@ -135,6 +135,7 @@ func GetHandler(opts HandlerOpts) func(http.ResponseWriter, *http.Request) { if err != nil { if !connectionClosed { clog.Warnf("failed to get next reader: %s", err) + continue } return }