Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

added Sentry init and captureException on epics #335

Conversation

enguerranws
Copy link
Contributor

No description provided.

@bbohec bbohec merged commit 1e1751b into main Jun 20, 2023
@bbohec bbohec deleted the 113-se-brancher-au-sentry-du-gip-pour-avoir-un-meilleur-suivi-des-erreurs-en-particulier-pour-les-erreurs-de-front branch June 20, 2023 14:44
import { MetaContent } from "./components/layout/MetaContent";
import { RouteProvider } from "./routes/routes";

Sentry.init({
dsn: "https://c2909f1d7f384d17bde3e75e250f2828@sentry.gip-inclusion.cloud-ed.fr/2",
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

suggestion: je propose de variabiliser cette information grâce à une variable d'environnement (si possible, à moindre frais).

import { MetaContent } from "./components/layout/MetaContent";
import { RouteProvider } from "./routes/routes";

Sentry.init({
dsn: "https://c2909f1d7f384d17bde3e75e250f2828@sentry.gip-inclusion.cloud-ed.fr/2",
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

suggestion: utiliser xxx@sentry.gip-inclusion.org plutôt que l'URL technique sous-jacente.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
3 participants