Skip to content
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

MessageSuggestions: custom error handling #66

Merged
merged 1 commit into from
Mar 6, 2024

Conversation

yen-tt
Copy link
Collaborator

@yen-tt yen-tt commented Mar 6, 2024

add an optional handleError prop, similar to the other components (ChatInput, ChatPanel, etc.) for custom error handling, which will override the default handling (console log + "sorry I can't help" message)

will publish a new version on merge

J=CLIP-1052
TEST=auto

see that jest tests passed

@yen-tt yen-tt requested a review from a team as a code owner March 6, 2024 20:41
@yen-tt yen-tt merged commit 8601599 into main Mar 6, 2024
9 checks passed
@yen-tt yen-tt deleted the dev/error-handling-msg-suggestions branch March 6, 2024 21:13
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.

2 participants