Files
cce5b9d552 [MM-71182] Show translated errors from /secure-connection accept and status instead of raw error text (#39205)
* [MM-71182] Show translated errors from /secure-connection accept and status

doAccept and doStatus built their replies from AppError.Error(), exposing
the error location, wrapped crypto/store errors (including raw SQL errors)
and details, rendered in the server locale. They now log the full error and
reply with only the AppError message translated for the caller.

AcceptInvitation now returns store save failures as *model.AppError so the
slash command can hide database errors, while connection failures and the
remote site's rejection reason are still shown to help troubleshooting.

Co-authored-by: mattermost-code <matty-code@mattermost.com>

* Retrigger CI after Enterprise Postgres docker compose stalled

Co-authored-by: mattermost-code <matty-code@mattermost.com>

* Address PR feedback: 0 answered, 1 resolved, 0 declined

---------

Co-authored-by: Cursor Agent <cursoragent@cursor.com>
Co-authored-by: mattermost-code <matty-code@mattermost.com>
Co-authored-by: Mattermost Build <build@mattermost.com>
2026-10-16 04:08:18 +00:00
..
…
…
…
…