Add error boundaries to all SDK route pages #25
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Problem
SDK pages in
admin-compliance/app/(sdk)/do not have error boundaries. If any component throws an uncaught error (network failure, null data, unexpected API shape), the entire page goes blank with no user-facing message. React's default behavior in production is to unmount the whole tree.Required Actions
admin-compliance/components/sdk/ErrorBoundary.tsx— class component withcomponentDidCatchthat renders a fallback UIapp/(sdk)/layout.tsx— wraps all SDK pagesAcceptance Criteria