Disabled sentry
This commit is contained in:
parent
4fee6d278a
commit
61d6a7bb85
@ -2,7 +2,7 @@ import { captureException } from "@sentry/react";
|
||||
|
||||
export function logError(error) {
|
||||
console.error(error);
|
||||
if (process.env.NODE_ENV === "production") {
|
||||
captureException(error);
|
||||
}
|
||||
// if (process.env.NODE_ENV === "production") {
|
||||
// captureException(error);
|
||||
// }
|
||||
}
|
||||
|
18
src/index.js
18
src/index.js
@ -11,15 +11,15 @@ import * as serviceWorker from "./serviceWorker";
|
||||
|
||||
import "./index.css";
|
||||
|
||||
if (process.env.NODE_ENV === "production") {
|
||||
Sentry.init({
|
||||
dsn:
|
||||
"https://bc1e2edfe7ca453f8e7357a48693979e@o467475.ingest.sentry.io/5493956",
|
||||
release: "owlbear-rodeo@" + process.env.REACT_APP_VERSION,
|
||||
// Ignore resize error as it is triggered by going fullscreen on slower computers
|
||||
ignoreErrors: ["ResizeObserver loop limit exceeded"],
|
||||
});
|
||||
}
|
||||
// if (process.env.NODE_ENV === "production") {
|
||||
// Sentry.init({
|
||||
// dsn:
|
||||
// "https://bc1e2edfe7ca453f8e7357a48693979e@o467475.ingest.sentry.io/5493956",
|
||||
// release: "owlbear-rodeo@" + process.env.REACT_APP_VERSION,
|
||||
// // Ignore resize error as it is triggered by going fullscreen on slower computers
|
||||
// ignoreErrors: ["ResizeObserver loop limit exceeded"],
|
||||
// });
|
||||
// }
|
||||
|
||||
Modal.setAppElement("#root");
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user