Skip to content

Add a simple error boundary to the app#1638

Open
Arnei wants to merge 2 commits into
opencast:developfrom
Arnei:error-boundaries
Open

Add a simple error boundary to the app#1638
Arnei wants to merge 2 commits into
opencast:developfrom
Arnei:error-boundaries

Conversation

@Arnei

@Arnei Arnei commented Jul 9, 2026

Copy link
Copy Markdown
Member

Fixes #1164.

Instead of letting rendering errors cause a blank page, this employs react error boundaries to show a minimalistic error page instead.

Also adds error boundaries to modals. Modals are self contained, so if there is an error in one it does not have to bring the whole application down with it.

Does not catch other errors, i.e. during event handling.

Bildschirmfoto vom 2026-07-09 17-01-06

@Arnei Arnei added the type:usability Improves the UX label Jul 9, 2026
Arnei added 2 commits July 9, 2026 17:25
Instead of letting rendering errors cause a blank page,
this employs react error boundaries to show a
minimalistic error page instead.

Does not catch other errors, i.e. during event handling.
Modals are self contained, so if there is an error in one
it does not have to bring the whole application down with it.
@Arnei Arnei force-pushed the error-boundaries branch from f611919 to f7fbcca Compare July 9, 2026 15:25
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

type:usability Improves the UX

Projects

None yet

Development

Successfully merging this pull request may close these issues.

How about error boundaries

1 participant