add sentry

This commit is contained in:
Mario
2021-01-19 19:54:33 +01:00
parent 126dc3ecf4
commit 957ccd566e
4 changed files with 100 additions and 1 deletions
-1
View File
@@ -125,7 +125,6 @@ class Home extends Component {
</Grid>
: null}
</Grid>
<HintTutorialExists />
<Snackbar
open={this.state.snackbar}
+16
View File
@@ -3,6 +3,22 @@ import ReactDOM from 'react-dom';
import './index.css';
import App from './App';
import * as serviceWorker from './serviceWorker';
import * as Sentry from "@sentry/react";
import { Integrations } from "@sentry/tracing";
Sentry.init({
dsn: "https://ffe5d54461f64c46b4bed5d77c130d6f@o507523.ingest.sentry.io/5598758",
autoSessionTracking: true,
integrations: [
new Integrations.BrowserTracing(),
],
// We recommend adjusting this value in production, or using tracesSampler
// for finer control
tracesSampleRate: 1.0,
});
ReactDOM.render(
<React.StrictMode>