Skip to content

Commit

Permalink
fix: add ignored Outlook-related error message to Sentry config
Browse files Browse the repository at this point in the history
See getsentry/sentry-javascript#3440 for more information
  • Loading branch information
giuseppedeponte committed Sep 1, 2021
1 parent ccb7ab8 commit c4a0530
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 c4a0530

Please sign in to comment.