diff --git a/internal/websocket/handler/screen.go b/internal/websocket/handler/screen.go index eebab9db..acf00f52 100644 --- a/internal/websocket/handler/screen.go +++ b/internal/websocket/handler/screen.go @@ -13,8 +13,7 @@ func (h *MessageHandlerCtx) screenSizeChange(session types.Session, payload *mes } if err := h.desktop.ChangeScreenSize(payload.Width, payload.Height, payload.Rate); err != nil { - h.logger.Warn().Err(err).Msgf("unable to change screen size") - return nil + return err } h.sessions.Broadcast(