Skip to content

fix: gateway error not showing in ui#1440

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

fix: gateway error not showing in ui#1440
dancer merged 1 commit intomainfrom
fix/gateway-error-handling

Conversation

@dancer
Copy link
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
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
@vercel vercel bot temporarily deployed to Preview – v0-vercel-ai-chatbot March 2, 2026 16:00 Inactive
@vercel vercel bot temporarily deployed to Preview – v0-ai-chatbot-6556 March 2, 2026 16:00 Inactive
@vercel vercel bot temporarily deployed to Preview – v0-ai-chatbot-1824 March 2, 2026 16:00 Inactive
@dancer dancer merged commit 58bbb37 into main Mar 2, 2026
9 of 10 checks passed
@dancer dancer deleted the fix/gateway-error-handling branch March 2, 2026 16:01
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