Enable exception reporting & default error screen to report GitHub bug (#82)

This commit is contained in:
Will Chen
2025-05-05 14:19:33 -07:00
committed by GitHub
parent ac8ef73bee
commit 43cf62a93c
4 changed files with 123 additions and 0 deletions

View File

@@ -16,6 +16,7 @@ const posthogClient = posthog.init(
// @ts-ignore
debug: import.meta.env.MODE === "development",
autocapture: false,
capture_exceptions: true,
capture_pageview: false,
before_send: (event) => {
if (!isTelemetryOptedIn()) {