Added sentry logging.
This commit is contained in:
@@ -1,4 +1,6 @@
|
||||
import { AlertOutlined } from "@ant-design/icons";
|
||||
import * as Sentry from "@sentry/react";
|
||||
import { Integrations } from "@sentry/tracing";
|
||||
import { Button, notification } from "antd";
|
||||
import Dinero from "dinero.js";
|
||||
import i18n from "i18next";
|
||||
@@ -21,6 +23,17 @@ Dinero.defaultCurrency = "CAD";
|
||||
Dinero.globalLocale = "en-CA";
|
||||
Dinero.globalRoundingMode = "HALF_UP";
|
||||
|
||||
Sentry.init({
|
||||
dsn:
|
||||
"https://fd7e89369b6b4bdc9c6c4c9f22fa4ee4@o492140.ingest.sentry.io/5651027",
|
||||
integrations: [new Integrations.BrowserTracing()],
|
||||
environment: process.env || "development",
|
||||
|
||||
// We recommend adjusting this value in production, or using tracesSampler
|
||||
// for finer control
|
||||
tracesSampleRate: 0.5,
|
||||
});
|
||||
|
||||
ReactDOM.render(
|
||||
<Provider store={store}>
|
||||
<BrowserRouter>
|
||||
|
||||
Reference in New Issue
Block a user