Skip to content

Infisical is the open-source platform for securing secrets, certificates, access, and AI Agents.

feat: added error boundary

Daniel Hougaard2a686e65cdb1
diff --git a/frontend/src/layouts/AppLayout/ErrorBoundary.tsx b/frontend/src/layouts/AppLayout/ErrorBoundary.tsx
index 2fe881c38e..d5c951f4c3 100644
--- a/frontend/src/layouts/AppLayout/ErrorBoundary.tsx
+++ b/frontend/src/layouts/AppLayout/ErrorBoundary.tsx
@@ -57,7 +57,7 @@ const ErrorPage = ({ error }: { error: Error | null }) => {
</p>
{orgId && (
- <Button className="mt-4" size="xs" onClick={() => router.push(`/org/${orgId}`)}>
+ <Button className="mt-4" size="xs" onClick={() => router.push(`/org/${orgId}/overview`)}>
<FontAwesomeIcon icon={faHome} className="mr-2" />
Back To Home
</Button>