Add sentry and queries.
This commit is contained in:
@@ -9,6 +9,15 @@ import App from "./App/App";
|
||||
import "./index.css";
|
||||
import { persistor, store } from "./redux/store";
|
||||
|
||||
import * as Sentry from "@sentry/electron";
|
||||
|
||||
Sentry.init({
|
||||
dsn: "https://9840e0f304124299e379d9347e12d2e6@o492140.ingest.sentry.io/4505728058523648",
|
||||
integrations: [new Sentry.BrowserTracing()],
|
||||
tracesSampleRate: 1.0,
|
||||
// Set `tracePropagationTargets` to control for which URLs distributed tracing should be enabled
|
||||
tracePropagationTargets: ["localhost", "https://db.rps.imex.online"],
|
||||
});
|
||||
//if (process.env.NODE_ENV === "production") LogRocket.init("imex/rps");
|
||||
const container = document.getElementById("root");
|
||||
const root = createRoot(container); // createRoot(container!) if you use TypeScript
|
||||
|
||||
Reference in New Issue
Block a user