Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.
shouldAddBreadcrumb: (breadcrumb) => {
// Don't submit breadcrumbs for console.debug.
if (breadcrumb.category === 'console') {
if (breadcrumb.level === sentry.Severity.Debug) {
return false;
}
}
return true;
},
beforeBreadcrumb: (breadcrumb) => {