Skip to content

Commit

Permalink
fix nc messages
Browse files Browse the repository at this point in the history
  • Loading branch information
jonat75 committed Jan 10, 2024
1 parent db1ceb0 commit a4d5fc4
Show file tree
Hide file tree
Showing 6 changed files with 2 additions and 150 deletions.
4 changes: 1 addition & 3 deletions packages/app/.env.test
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,6 @@ NEXT_PUBLIC_API_URL=https://egapro-preprod.dev.fabrique.social.gouv.fr/api
NEXT_PUBLIC_API_V2_URL=https://egapro-preprod.dev.fabrique.social.gouv.fr/apiv2
NEXT_PUBLIC_MATOMO_URL="<dev>"
NEXT_PUBLIC_MATOMO_SITE_ID="<dev>"


## MAILER service
# old EGAPRO_SEND_EMAILS
MAILER_ENABLE=false
Expand Down Expand Up @@ -68,5 +66,5 @@ SECURITY_ALLOWED_IPS=""
# old EGAPRO_SENTRY_DSN
SENTRY_DSN=""
# old EGAPRO_FLAVOUR
SENTRY_ENVIRONMENT="local"
SENTRY_ENVIRONMENT="test"

9 changes: 0 additions & 9 deletions packages/app/src/app/api/sentry-example-api/route.js

This file was deleted.

39 changes: 0 additions & 39 deletions packages/app/src/app/error/page.tsx

This file was deleted.

1 change: 1 addition & 0 deletions packages/app/src/app/global-error.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@ import * as Sentry from "@sentry/nextjs";
import Error from "next/error";
import { useEffect } from "react";

// eslint-disable-next-line import/no-default-export
export default function GlobalError({ error }) {
useEffect(() => {
Sentry.captureException(error);
Expand Down
82 changes: 0 additions & 82 deletions packages/app/src/app/sentry-example-page/page.jsx

This file was deleted.

17 changes: 0 additions & 17 deletions packages/app/src/pages/_error.jsx

This file was deleted.

0 comments on commit a4d5fc4

Please sign in to comment.