Skip to content

Commit

Permalink
Merge pull request #953 from lafranceinsoumise/gdp/ignore-sentry-error
Browse files Browse the repository at this point in the history
fix: add ignored Outlook-related error message to Sentry config (ACTIONPOPULAIRE-FRONT-10Y)
  • Loading branch information
giuseppedeponte authored Sep 3, 2021
2 parents fce14ff + c4a0530 commit 7390ed2
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions agir/front/components/allPages/sentry.js
Original file line number Diff line number Diff line change
Expand Up @@ -35,5 +35,11 @@ if (process.env.NODE_ENV === "production") {
// We recommend adjusting this value in production, or using tracesSampler
// for finer control
tracesSampleRate: 0.1,

ignoreErrors: [
// Email link Microsoft Outlook crawler compatibility error
// cf. https://forum.sentry.io/t/unhandledrejection-non-error-promise-rejection-captured-with-value/14062
"Non-Error promise rejection captured with value: Object Not Found Matching Id:",
],
});
}

0 comments on commit 7390ed2

Please sign in to comment.