diff options
Diffstat (limited to 'jb-ui/src/main.tsx')
| -rw-r--r-- | jb-ui/src/main.tsx | 9 |
1 files changed, 9 insertions, 0 deletions
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"); |
