-
Notifications
You must be signed in to change notification settings - Fork 8.2k
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
[UnifiedFieldList] Handle exceptions in FieldPopover better #155866
Conversation
💚 Build Succeeded
Metrics [docs]Module Count
Async chunks
Page load bundle
Unknown metric groupsESLint disabled line counts
Total ESLint disabled count
To update your PR or re-run it, just comment with: cc @jughosta |
Pinging @elastic/kibana-data-discovery (Team:DataDiscovery) |
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.
Checked out, tested and the error message when throwing an Exception initially was:
With this PR it became
We might consider showing a error message in the UI, but given this is a special case that should just surface when there are bootstrapping errors in development mode, it shouldn't be necessary ... 👍 for have this covered
💚 All backports created successfully
Note: Successful backport PRs will be merged automatically after passing CI. Questions ?Please refer to the Backport tool documentation |
…55866) (#155973) # Backport This will backport the following commits from `main` to `8.8`: - [[UnifiedFieldList] Handle exceptions in FieldPopover better (#155866)](#155866) <!--- Backport version: 8.9.7 --> ### Questions ? Please refer to the [Backport tool documentation](https://github.com/sqren/backport) <!--BACKPORT [{"author":{"name":"Julia Rechkunova","email":"[email protected]"},"sourceCommit":{"committedDate":"2023-04-27T08:09:56Z","message":"[UnifiedFieldList] Handle exceptions in FieldPopover better (#155866)\n\n## Summary\r\n\r\nThis PR wraps rendering of FieldPopover with additional try/catch and\r\nerror boundary so we can look into exceptions if they happen.","sha":"c571a389efaa826650172ff44d3de5f3eab3855b","branchLabelMapping":{"^v8.9.0$":"main","^v(\\d+).(\\d+).\\d+$":"$1.$2"}},"sourcePullRequest":{"labels":["release_note:skip","Team:DataDiscovery","backport:prev-minor","Feature:UnifiedFieldList","v8.9.0"],"number":155866,"url":"https://github.com/elastic/kibana/pull/155866","mergeCommit":{"message":"[UnifiedFieldList] Handle exceptions in FieldPopover better (#155866)\n\n## Summary\r\n\r\nThis PR wraps rendering of FieldPopover with additional try/catch and\r\nerror boundary so we can look into exceptions if they happen.","sha":"c571a389efaa826650172ff44d3de5f3eab3855b"}},"sourceBranch":"main","suggestedTargetBranches":[],"targetPullRequestStates":[{"branch":"main","label":"v8.9.0","labelRegex":"^v8.9.0$","isSourceBranch":true,"state":"MERGED","url":"https://github.com/elastic/kibana/pull/155866","number":155866,"mergeCommit":{"message":"[UnifiedFieldList] Handle exceptions in FieldPopover better (#155866)\n\n## Summary\r\n\r\nThis PR wraps rendering of FieldPopover with additional try/catch and\r\nerror boundary so we can look into exceptions if they happen.","sha":"c571a389efaa826650172ff44d3de5f3eab3855b"}}]}] BACKPORT--> Co-authored-by: Julia Rechkunova <[email protected]>
Summary
This PR wraps rendering of FieldPopover with additional try/catch and error boundary so we can look into exceptions if they happen.