-
Notifications
You must be signed in to change notification settings - Fork 915
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
[BUG] custom error not display correctly after dev tool console refactoring #3645
Comments
@abbyhu2000 The issue is with a typo. it's supposed to be OpenSearch-Dashboards/src/plugins/console/server/routes/api/console/proxy/create_handler.ts Line 140 in de06344
|
It sounds like this is a blocker for the feature in 2.7.0 |
Why do we care if the response has any headers? |
to validate the error is a response error |
I've posted PR #3652 to fix the problem. Please take a look, let's unblock it for 2.7 |
Describe the bug
The error is caused by #3544
To Reproduce
If search for an index pattern that does not exist, the console shows a 502 bad gateway error:
It should show a 404 not found custom error:
The text was updated successfully, but these errors were encountered: