"use client"; /** * Next.js global error boundary. Renders only when a render error * escapes every other error.tsx boundary in the tree (including the * root layout). Required for Sentry to capture root-layout crashes * — the more granular `error.tsx` files don't run when the layout * itself blows up. */ import * as Sentry from "@sentry/nextjs"; import { useEffect } from "react"; export default function GlobalError({ error, }: { error: Error & { digest?: string }; }) { useEffect(() => { Sentry.captureException(error); }, [error]); return (
We've been notified and will look into it. Try refreshing.
{error.digest ? (
ref: {error.digest}
) : null}