Skip to content

Commit ac5105c

Browse files
committed
fix: reorder error handlers in GlobalErrorBoundary for improved error handling flow
1 parent d7e6652 commit ac5105c

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

  • apps/ticket/src/shared/clientBoundary/ErrorBoundary/GlobalErrorBoundary

apps/ticket/src/shared/clientBoundary/ErrorBoundary/GlobalErrorBoundary/index.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ import { GlobalErrorPage } from "./components/GlobalErrorPage";
1212

1313
export const GlobalErrorBoundary = ({ children }: { children: React.ReactNode }) => (
1414
<ErrorBoundary
15-
handlers={[authErrorHandler, requiredLoginHandler, networkErrorHandler, globalErrorHandler]}
15+
handlers={[requiredLoginHandler, authErrorHandler, networkErrorHandler, globalErrorHandler]}
1616
>
1717
<Suspense>{children}</Suspense>
1818
</ErrorBoundary>

0 commit comments

Comments
 (0)