Skip to content

fix(mob): explain why editing a message failed - #165

Merged
mrsumanbiswas merged 1 commit into
CommandLineCoding:v0.3.5from
mrsumanbiswas:160-bug-message-edit-generic-error
Nov 7, 2026
Merged

mrsumanbiswas merged 1 commit into
CommandLineCoding:v0.3.5from
mrsumanbiswas:160-bug-message-edit-generic-error

Conversation

@mrsumanbiswas

Copy link
Copy Markdown
Member

When the server is older than the app, PUT /api/messages/{id} returns a plain-text 404, which ApiService.errorMessage turned into the generic "Couldn't edit the message." Treat a bare 404/405 as a missing route and say the server may need updating, and log the underlying error.

Closes #160

When the server is older than the app, PUT /api/messages/{id} returns a
plain-text 404, which ApiService.errorMessage turned into the generic
"Couldn't edit the message." Treat a bare 404/405 as a missing route and
say the server may need updating, and log the underlying error.

Closes CommandLineCoding#160
@mrsumanbiswas
mrsumanbiswas merged commit 8fc06a3 into CommandLineCoding:v0.3.5 Nov 7, 2026
1 check passed
This was referenced Nov 7, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[BUG]: Editing a message always shows a generic error

1 participant