Commit d73f9ee
[Obs AI Assistant] replace EuiErrorBoundary with KibanaErrorBoundary (elastic#229710)
Replaces `EuiErrorBoundary` with using `core.rendering.addContext()`.
https://github.com/elastic/kibana/blob/main/src/core/packages/rendering/browser/README.mdx
I tested this by throwing an error in the feedback buttons and the AI
Assistant button itself and confirmed they are caught by the
`KibanaErrorBoundary`.
---------
Co-authored-by: kibanamachine <[email protected]>1 parent 261b2df commit d73f9ee
File tree
1 file changed
+16
-19
lines changed- x-pack/solutions/observability/plugins/observability_ai_assistant_app/public/utils
1 file changed
+16
-19
lines changedLines changed: 16 additions & 19 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
4 | 4 | | |
5 | 5 | | |
6 | 6 | | |
7 | | - | |
8 | 7 | | |
9 | 8 | | |
10 | 9 | | |
| |||
31 | 30 | | |
32 | 31 | | |
33 | 32 | | |
34 | | - | |
35 | | - | |
36 | | - | |
37 | | - | |
38 | | - | |
39 | | - | |
40 | | - | |
41 | | - | |
42 | | - | |
43 | | - | |
44 | | - | |
45 | | - | |
46 | | - | |
47 | | - | |
48 | | - | |
49 | | - | |
50 | | - | |
51 | | - | |
| 33 | + | |
| 34 | + | |
| 35 | + | |
| 36 | + | |
| 37 | + | |
| 38 | + | |
| 39 | + | |
| 40 | + | |
| 41 | + | |
| 42 | + | |
| 43 | + | |
| 44 | + | |
| 45 | + | |
| 46 | + | |
| 47 | + | |
| 48 | + | |
52 | 49 | | |
53 | 50 | | |
0 commit comments