Description
The dashboard occasionally crashes to a black screen with a React runtime error in the console. The stack trace points to the minified bundle (index-5jPI-xyD.js) so the exact source is unclear.
Console stack trace
jt @ index-5jPI-xyD.js:14
tn @ index-5jPI-xyD.js:14
Co @ index-5jPI-xyD.js:8
gc @ index-5jPI-xyD.js:8
Nc @ index-5jPI-xyD.js:8
Mu @ index-5jPI-xyD.js:8
ku @ index-5jPI-xyD.js:8
Ou @ index-5jPI-xyD.js:8
gu @ index-5jPI-xyD.js:8
ld @ index-5jPI-xyD.js:8
id @ index-5jPI-xyD.js:8
od @ index-5jPI-xyD.js:8
(anonymous) @ index-5jPI-xyD.js:8
Likely cause
Possibly related to #68 — when the API returns unexpected data (e.g., missing result field, null values), the frontend may throw an unhandled exception during rendering. The dashboard has no error boundary to catch and display the error gracefully.
Expected
- Dashboard should not crash to a black screen
- Add a React error boundary to catch rendering errors and show a fallback UI
- Investigate the actual error message (need source maps or dev mode to get a readable stack trace)
Description
The dashboard occasionally crashes to a black screen with a React runtime error in the console. The stack trace points to the minified bundle (
index-5jPI-xyD.js) so the exact source is unclear.Console stack trace
Likely cause
Possibly related to #68 — when the API returns unexpected data (e.g., missing
resultfield, null values), the frontend may throw an unhandled exception during rendering. The dashboard has no error boundary to catch and display the error gracefully.Expected