fix(chat): normalize session creation errors - #1006
Closed
wunitb wants to merge 1 commit into
Closed
Conversation
wunitb
force-pushed
the
fix/group-session-error-message
branch
from
September 1, 2026 05:42
94fdb16 to
e190c98
Compare
Author
|
Rebased the tested fix onto current |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
message,detail, anderrorenvelopes[object Object]from reaching Group Chat toastsunknowncatch boundaryRoot cause
The backend already returns structured FastAPI errors such as
{"detail":{"code":"...","message":"..."}}. Some runtime/client paths can rethrow an object or place a nested object inError.message;GroupsPagereaderror.messagedirectly, so the UI rendered JavaScript object coercion instead of the backend diagnostic. Backendcreate_group_sessionand its transaction path are covered and no repository defect blocking valid session creation was reproduced.Verification
Error.message, and[object Object]fallbackDeployment
The branch is rebased onto current upstream
mainate190c982. The same change is merged into the deployable forkwunitb/Clawithasb9ba45ec. Upstream merge/deploy is still required before installations trackingdataelement/Clawithreceive the fix.