Skip to content

Conversation

@tharropoulos
Copy link
Contributor

@tharropoulos tharropoulos commented Apr 23, 2025

Change Summary

Closes #82

  • enhance _get_error_message to handle JSON decode errors
  • add detailed error message including the invalid response text
  • add tests covering valid JSON, invalid JSON, and non-JSON responses

PR Checklist

- enhance `_get_error_message` to handle JSON decode errors
- add detailed error message including the invalid response text
- add tests covering valid JSON, invalid JSON, and non-JSON responses
@tharropoulos
Copy link
Contributor Author

@kishorenc

@kishorenc kishorenc merged commit 36b25b2 into typesense:master Apr 28, 2025
5 checks passed
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.

Failure to decode Json response from Typesense

2 participants