Skip to content

fix(contextchat): catch network failures when loading chat message context - #6639

Merged
mahibi merged 1 commit into
masterfrom
bugfix/noid/avoidConnectionExceptionInContextChatViewModel
Sep 3, 2026
Merged

fix(contextchat): catch network failures when loading chat message context#6639
mahibi merged 1 commit into
masterfrom
bugfix/noid/avoidConnectionExceptionInContextChatViewModel

Conversation

@mahibi

@mahibi mahibi commented Sep 3, 2026

Copy link
Copy Markdown
Collaborator

🏁 Checklist

  • ⛑️ Tests (unit and/or integration) are included or not needed
  • 🔖 Capability is checked or not needed
  • 🔙 Backport requests are created or not needed: /backport to stable-xx.x
  • 📅 Milestone is set
  • 🌸 PR title is meaningful (if it should be in the changelog: is it meaningful to users?)

🤖 AI (if applicable)

  • The content of this PR was partly or fully generated using AI

…ntext

ConnectException (and other IOExceptions) thrown from the uncaught
network call inside viewModelScope.launch had no propagation path,
crashing the app via the last-resort uncaught exception handler
instead of surfacing the existing Error UI state.

Assisted-by: Claude Code:claude-sonnet-5

Signed-off-by: Marcel Hibbe <dev@mhibbe.de>
@mahibi mahibi added this to the 25.0.0 milestone Sep 3, 2026
@mahibi mahibi self-assigned this Sep 3, 2026
@mahibi mahibi added the 3. to review Waiting for reviews label Sep 3, 2026
@mahibi
mahibi merged commit e1e0a1f into master Sep 3, 2026
15 of 19 checks passed
@mahibi
mahibi deleted the bugfix/noid/avoidConnectionExceptionInContextChatViewModel branch September 3, 2026 12:47
@github-actions

github-actions Bot commented Sep 3, 2026

Copy link
Copy Markdown
Contributor

APK file: https://github.com/nextcloud/talk-android/actions/runs/33757179847/artifacts/9894569688
To test this change/fix you can simply download above APK file and install and test it in parallel to your existing Nextcloud app.
qrcode (please click on link to get QR code displayed)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

3. to review Waiting for reviews

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant