Skip to content

fix: gateway error not showing in ui#1441

Merged
dancer merged 1 commit intodemofrom
fix/gateway-error-handling-demo
Mar 2, 2026
Merged

fix: gateway error not showing in ui#1441
dancer merged 1 commit intodemofrom
fix/gateway-error-handling-demo

Conversation

@dancer
Copy link
Copy Markdown
Collaborator

@dancer dancer commented Mar 2, 2026

summary

  • return gateway-specific error message from stream onError instead of generic string
  • check error message string first in client onError so it works for both stream errors and fetch errors
  • show toast for all other errors instead of silently swallowing

@vercel
Copy link
Copy Markdown
Contributor

vercel Bot commented Mar 2, 2026

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated (UTC)
v0-v0-ai-chatbot Building Building Preview, Open in v0 Mar 2, 2026 4:00pm

Request Review

@vercel vercel Bot temporarily deployed to Preview – v0-v0-ai-chatbot March 2, 2026 16:00 Inactive
@dancer dancer merged commit 49ba1d5 into demo Mar 2, 2026
2 of 9 checks passed
@dancer dancer deleted the fix/gateway-error-handling-demo branch March 2, 2026 16:01
@vercel vercel Bot temporarily deployed to Preview – v0-ai-chatbot-1824 March 2, 2026 16:01 Inactive
@vercel vercel Bot temporarily deployed to Preview – v0-vercel-ai-chatbot March 2, 2026 16:01 Inactive
@vercel vercel Bot temporarily deployed to Preview – v0-ai-chatbot-6556 March 2, 2026 16:04 Inactive
Yukiniro added a commit to Yukiniro/chatbot that referenced this pull request Mar 4, 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.

1 participant