Added dedupe integration to sentry in index.js

This commit is contained in:
Nicola Thouliss 2021-05-14 14:15:54 +10:00
parent 1e20e4fcf9
commit e0e90ff0e5

View File

@ -1,6 +1,7 @@
import React from "react";
import ReactDOM from "react-dom";
import * as Sentry from "@sentry/react";
import Dedupe from "@sentry/integrations";
import App from "./App";
import Modal from "react-modal";
@ -20,6 +21,7 @@ if (process.env.REACT_APP_LOGGING === "true") {
Sentry.init({
dsn: process.env.REACT_APP_SENTRY_DSN,
release: "owlbear-rodeo@" + process.env.REACT_APP_VERSION,
integrations: [new Dedupe()],
// Ignore resize error as it is triggered by going fullscreen on slower computers
// Ignore quota error
// Ignore XDR encoding failure bug in Firefox https://bugzilla.mozilla.org/show_bug.cgi?id=1678243