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 ```
Этот коммит содержится в:
коммит произвёл
GitHub
родитель
151f295d82
Коммит
14246abdef
@@ -6151,6 +6151,10 @@
|
||||
"id": "app.team.clear_all_custom_role_assignments.select.app_error",
|
||||
"translation": "Failed to retrieve the team members."
|
||||
},
|
||||
{
|
||||
"id": "app.team.clear_cache.app_error",
|
||||
"translation": "Error clearing team member cache"
|
||||
},
|
||||
{
|
||||
"id": "app.team.get.find.app_error",
|
||||
"translation": "Unable to find the existing team."
|
||||
|
||||
Ссылка в новой задаче
Block a user