-
Notifications
You must be signed in to change notification settings - Fork 8.3k
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
[Grokdebugger] Fix simulate error handling #83036
[Grokdebugger] Fix simulate error handling #83036
Conversation
- removed code to call simulate endpoint from "KibanaFramework" - fixed throwing of string value - using new elasticsearch client instead of legacy - handle error with shared error handling logic
Pinging @elastic/es-ui (Team:Elasticsearch UI) |
💚 Build SucceededMetrics [docs]Async chunks
Distributable file count
To update your PR or re-run it, just comment with: |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Hi @jloleysens , changes LGTM, I tested locally and everything worked!
* Fix detection of 4xx errors in grokdebugger simulate endpoint - removed code to call simulate endpoint from "KibanaFramework" - fixed throwing of string value - using new elasticsearch client instead of legacy - handle error with shared error handling logic * added deprecation notice to register route on KibanaFramework * remove deprecation notice
* Fix detection of 4xx errors in grokdebugger simulate endpoint - removed code to call simulate endpoint from "KibanaFramework" - fixed throwing of string value - using new elasticsearch client instead of legacy - handle error with shared error handling logic * added deprecation notice to register route on KibanaFramework * remove deprecation notice
Summary
Fix #82869
handleEsError
shared logic to correctly handle errors originating from ESKibanaFramework
How to test
yarn start
Screenshots
Release note
Grokdebugger correctly passes Elasticsearch errors to the Kibana UI.