Infisical is the open-source platform for securing secrets, certificates, access, and AI Agents.
TypeScript acmeagentsai-agentscertificate-managementdevsecopsenvironment-variableskubernetesopen-sourcepampkipostgresprivate-caprivileged-access-managementsecret-managementsecret-managersecretssecrets-managementsecuritysecurity-toolsvault
feat: added error boundary
Daniel Hougaardbd4deb02b0b6
diff --git a/frontend/src/layouts/AppLayout/ErrorBoundary.tsx b/frontend/src/layouts/AppLayout/ErrorBoundary.tsxindex d5c951f4c3..55acf3433d 100644--- a/frontend/src/layouts/AppLayout/ErrorBoundary.tsx+++ b/frontend/src/layouts/AppLayout/ErrorBoundary.tsx@@ -57,7 +57,14 @@ const ErrorPage = ({ error }: { error: Error | null }) => {</p>{orgId && (- <Button className="mt-4" size="xs" onClick={() => router.push(`/org/${orgId}/overview`)}>+ <Button+ className="mt-4"+ size="xs"+ onClick={() =>+ // we need to go to /org/${orgId}/overview, but we need to do a full page reload to ensure that the error the user is facing is properly reset.+ window.location.assign(`/org/${orgId}/overview`)+ }+ ><FontAwesomeIcon icon={faHome} className="mr-2" />Back To Home</Button>