diff --git a/src/app/HomePage.js b/src/app/HomePage.js index 8015f1e..8714f9a 100644 --- a/src/app/HomePage.js +++ b/src/app/HomePage.js @@ -36,6 +36,12 @@ function HomePage() { const [previewState, setPreviewState] = React.useState(null); + React.useEffect(() => { + if (window.location.href.includes("send-test-error-for-sentry")) { + throw new Error("Test error for Sentry"); + } + }); + return (