Skip to content

Conversation

@kevinwcyu
Copy link
Contributor

What this PR does / why we need it:

Lucene query error responses sometimes have the error message in the caused_by.reason property. This handles that case so the user can get a more helpful error message instead of "unknown OpenSearch error response" (see #400)

Which issue(s) this PR fixes:

Fixes #

Special notes for your reviewer:
Use the provisioned "AWS OpenSearch" data source with the following query in Explore. It show the error message shown in the screenshot instead of "unknown OpenSearch error response"

Screenshot 2024-05-29 at 12 08 54 PM
@kevinwcyu kevinwcyu merged commit 6212944 into main May 30, 2024
@kevinwcyu kevinwcyu deleted the kevinwcyu/add-caused-by-error-message branch May 30, 2024 17:24
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

2 participants