sentry ignore errors

Solutions on MaxInterview for sentry ignore errors by the best coders in the world

showing results for - "sentry ignore errors"
Olivier
02 Apr 2020
1// List of errors you want to ignore
2
3Sentry.init({
4  dsn: "sentry_dsn",
5  ignoreErrors: [
6    'TypeError: Failed to fetch',
7    'TypeError: NetworkError when attempting to fetch resource.',
8    'TypeError: Cancelled',
9    'TypeError: cancelado',
10  ],
11});