ignore local errors in sentry js code example
Example: sentry ignoreerrors
// List of errors you want to ignore
Sentry.init({
dsn: "sentry_dsn",
ignoreErrors: [
'TypeError: Failed to fetch',
'TypeError: NetworkError when attempting to fetch resource.',
'TypeError: Cancelled',
'TypeError: cancelado',
],
});