Commit 9201e18
authored
[Error Boundary] Add stack trace to error payload to aid in troubleshooting rendering errors (#3032)
## Summary:
The current Rendering Errors dashboard displays an error message, but nothing about where the error occurred. This PR adds the error stack to the error object sent to the dashboard service.
Issue: LEMS-3714
## Test plan:
1. Deploy to PROD
1. Wait a day or two to start receiving the data
1. Update dashboard to use the new data
**OR**
1. Run the updated unit test for the `widget-container.tsx`
Author: mark-fitzgerald
Reviewers: catandthemachines
Required Reviewers:
Approved By: catandthemachines
Checks: ⏭️ 1 check has been skipped, ✅ 10 checks were successful
Pull Request URL: #30321 parent c9cfba3 commit 9201e18
File tree
4 files changed
+37
-9
lines changed- .changeset
- packages
- perseus-core/src
- perseus/src
- __tests__
4 files changed
+37
-9
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
23 | 23 | | |
24 | 24 | | |
25 | 25 | | |
| 26 | + | |
26 | 27 | | |
27 | 28 | | |
28 | 29 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
123 | 123 | | |
124 | 124 | | |
125 | 125 | | |
126 | | - | |
| 126 | + | |
| 127 | + | |
| 128 | + | |
| 129 | + | |
| 130 | + | |
| 131 | + | |
| 132 | + | |
| 133 | + | |
| 134 | + | |
127 | 135 | | |
128 | | - | |
129 | | - | |
130 | | - | |
131 | | - | |
132 | | - | |
133 | | - | |
134 | | - | |
135 | | - | |
| 136 | + | |
| 137 | + | |
| 138 | + | |
| 139 | + | |
| 140 | + | |
| 141 | + | |
| 142 | + | |
| 143 | + | |
| 144 | + | |
| 145 | + | |
| 146 | + | |
| 147 | + | |
| 148 | + | |
| 149 | + | |
| 150 | + | |
| 151 | + | |
| 152 | + | |
| 153 | + | |
| 154 | + | |
| 155 | + | |
136 | 156 | | |
137 | 157 | | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
176 | 176 | | |
177 | 177 | | |
178 | 178 | | |
| 179 | + | |
179 | 180 | | |
180 | 181 | | |
181 | 182 | | |
| |||
0 commit comments