-
Notifications
You must be signed in to change notification settings - Fork 579
fix: Add ErrorBoundary to AssistantBubble component #15367
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
Your preview environment pr-15367 has been deployed. Preview environment endpoints are available at: |
Preview environment logs can be accessed at: https://console.cloud.google.com/logs/query;query=resource.labels.namespace_name%3D%22pr-15367%22;duration=PT30M?project=lightdash-previews |
<ErrorBoundary> | ||
<AssistantBubble message={message} isPreview={isPreview} /> | ||
</ErrorBoundary> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
what if we wrap this whole component with the error boundary? so we can gracefully catch user bubble issues too
Merge activity
|
## [0.1724.1](0.1724.0...0.1724.1) (2025-06-16) ### Bug Fixes * Add ErrorBoundary to AssistantBubble component ([#15367](#15367)) ([6a21e43](6a21e43))
🎉 This PR is included in version 0.1724.1 🎉 The release is available on:
Your semantic-release bot 📦🚀 |
Suspect IssuesThis pull request was deployed and Sentry observed the following issues:
Did you find this useful? React with a 👍 or 👎 |
Description:
Added an ErrorBoundary component around the AssistantBubble in the AgentChatDisplay component to prevent the entire chat interface from crashing if there's an error rendering an assistant message.