diff --git a/docs/app/(home)/layout.tsx b/docs/app/(home)/layout.tsx index 235258e8c5..1cdb476017 100644 --- a/docs/app/(home)/layout.tsx +++ b/docs/app/(home)/layout.tsx @@ -2,11 +2,30 @@ import type { ReactNode } from "react"; import { HomeLayout } from "fumadocs-ui/layouts/home"; import { baseOptions } from "@/app/layout.config"; import { Footer } from "@/components/Footer"; +import * as Sentry from "@sentry/nextjs"; export default function Layout({ children }: { children: ReactNode }) { return ( <> - {children} + + + We encountered an error trying to show this page. Please report + this to us on GitHub at{" "} + + https://github.com/TypeCellOS/BlockNote/issues + + + } + beforeCapture={(scope) => { + scope.setTag("type", "react-render"); + scope.setTag("page", "home"); + }} + > + {children} + +