return err socket.

This commit is contained in:
Miroslav Šedivý 2020-11-18 20:34:33 +01:00
parent da7e6f7728
commit 6d27b0a69c

View File

@ -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(