Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVASCRIPT

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',
  ],
});
 
PREVIOUS NEXT
Tagged: #sentry #ignoreerrors
ADD COMMENT
Topic
Name
8+2 =