From 1e306cdc5f83fca48eb3d60b7b4ba56055acb5d7 Mon Sep 17 00:00:00 2001 From: Max Nanis Date: Sun, 13 Sep 2026 18:14:29 -0700 Subject: Sentry init --- jb-ui/src/main.tsx | 9 +++++++++ 1 file changed, 9 insertions(+) (limited to 'jb-ui/src/main.tsx') diff --git a/jb-ui/src/main.tsx b/jb-ui/src/main.tsx index 6e02727..ee4c67e 100644 --- a/jb-ui/src/main.tsx +++ b/jb-ui/src/main.tsx @@ -1,9 +1,18 @@ import React from "react"; +import * as Sentry from "@sentry/react"; import ReactDOM from "react-dom/client"; import { Provider } from "react-redux"; import { store } from "@/store"; import JBApp from "@/JBApp"; +Sentry.init({ + dsn: "https://70ea814255c91a470e449505ce0ee39d@logs.g-r-l.com/27", + environment: import.meta.env.MODE, + release: "jb@1.0.0", + integrations: [Sentry.browserTracingIntegration()], + tracesSampleRate: 1.0, +}); + const rootElement = document.getElementById("root"); if (!rootElement) { throw new Error("Failed to find the root element"); -- cgit v1.2.3