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

chat: better error handling (fixes #7391) #7392

Merged
merged 3 commits into from
Dec 26, 2023

Conversation

Mutugiii
Copy link
Member

Fixes #7391

Within the API improve the error handling for:

  • Empty data object
  • Data object is an array
  • Content field within data object is empty or not a string

@Mutugiii Mutugiii requested a review from dogi December 22, 2023 16:35
@Mutugiii Mutugiii linked an issue Dec 22, 2023 that may be closed by this pull request
@dogi dogi changed the title chat: Improved error handling (fixes #7391) chat: better error handling (fixes #7391) Dec 26, 2023
@dogi dogi merged commit 33ebccd into master Dec 26, 2023
11 of 12 checks passed
@Mutugiii Mutugiii deleted the 7391-improve-chatapi-error-handling branch April 10, 2024 14:34
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.

improve chatapi error handling
2 participants