Files
mostlymatter/app
Agniva De Sarker 14246abdef MM-45993: Return errors during sending websocket messages (#20760)
During attaching an object to a websocket message, we would
marshal it to json and attach the string output. But if the
marshalling failed, we would just log a warning and move on.

This would add an empty string to the message. But the client
assumes that the object is correctly attached and would
fail silently if it cannot find it.

So we become more strict and return the error so that
it reaches the caller.

https://mattermost.atlassian.net/browse/MM-45993

```release-note
NONE
```
2022-08-05 08:49:01 +05:30
..
2022-07-14 11:19:33 +02:00
2022-07-14 12:17:52 +05:30
2022-07-26 16:12:56 +05:30
2022-04-11 19:31:19 +05:30
2021-08-17 16:08:04 -04:00
2022-04-11 19:31:19 +05:30
2022-07-25 16:01:59 -05:00
2022-07-25 16:01:59 -05:00