mirror of
https://github.com/elastic/kibana.git
synced 2025-06-27 18:51:07 -04:00
## Summary Closes https://github.com/elastic/kibana-team/issues/733 This change adds two new fields to [Error Boundary event-based telemetry](https://github.com/elastic/kibana/pull/169895) logging: `error_stack` and `component_stack`. - `error_stack` is a stacktrace of the error message that was caught, if any, otherwise an empty string. - `component_stack` is the list React components in the React component tree where error propagated until it was caught by the Error Boundary. ### Checklist Delete any items that are not applicable to this PR. - [x] [Unit or functional tests](https://www.elastic.co/guide/en/kibana/master/development-tests.html) were updated or added to match the most common scenarios ### For maintainers - [x] This was checked for breaking API changes and was [labeled appropriately](https://www.elastic.co/guide/en/kibana/master/contributing.html#kibana-release-notes-process) --------- Co-authored-by: kibanamachine <42973632+kibanamachine@users.noreply.github.com> |
||
---|---|---|
.. | ||
lib | ||
mocks | ||
src | ||
BUILD.bazel | ||
index.ts | ||
jest.config.js | ||
kibana.jsonc | ||
package.json | ||
README.mdx | ||
tsconfig.json | ||
types.ts |
--- id: sharedUX/KibanaErrorBoundary slug: /shared-ux/error_boundary/kibana_error_boundary title: Kibana Error Boundary description: Container to catch errors thrown by child component tags: ['shared-ux', 'component', 'error', 'error_boundary'] date: 2023-10-03 --- ## Description ## API ## EUI Promotion Status This component is specialized for error messages internal to Kibana and is not intended for promotion to EUI.