Closed
Description
Is there an existing issue for this?
- I have checked for existing issues https://github.com/getsentry/sentry-javascript/issues
- I have reviewed the documentation https://docs.sentry.io/
- I am using the latest SDK release https://github.com/getsentry/sentry-javascript/releases
How do you use Sentry?
Sentry Saas (sentry.io)
Which SDK are you using?
@sentry/angular
SDK Version
7.52.1
Framework Version
7.52.1
Link to Sentry event
SDK Setup
Sentry.init({
release: `${VERSION.version}`,
environment: environment.environment,
ignoreErrors: ['ResizeObserver loop limit exceeded'],
dsn: 'https://f99a2fe8adbe4fb9bc216d46c66b4b85@o237992.ingest.sentry.io/1406670',
// beforeSend(event, hint) {
// const eventConditional = event?.exception?.values != null && event?.exception?.values[0]?.value?.startsWith('Non-Error exception captured');
// let messageConditional = false;
// if (hint?.originalException != null && hint?.originalException instanceof Error) {
// const originalExceptionError: Error = hint.originalException;
// messageConditional = originalExceptionError.message.startsWith('Non-Error exception captured');
// }
// /* eslint-disable */
// const isNonErrorException = eventConditional || messageConditional;
// /* eslint-enable */
// if (isNonErrorException) {
// // We want to ignore those kind of errors
// console.warn('Received a non-standard error', event);
// return null;
// }
// return event;
// },
// This sets the sample rate to be 10%. You may want this to be 100% while
// in development and sample at a lower rate in production
replaysSessionSampleRate: 0.1,
// If the entire session is not sampled, use the below sample rate to sample
// sessions when an error occurs.
replaysOnErrorSampleRate: 1.0,
integrations: [
new Sentry.Replay({
networkDetailAllowUrls: environment.sentry.networkDetailAllowUrls,
networkRequestHeaders: environment.sentry.networkRequestHeaders,
networkResponseHeaders: environment.sentry.networkResponseHeaders,
}),
new BrowserTracing({
tracingOrigins: environment.sentry.tracingOrigins,
routingInstrumentation: Sentry.routingInstrumentation,
}),
],
tracesSampleRate: 0.2,
});
Steps to Reproduce
This error was created by a customer. There should be enough information in the Sentry event URL
Expected Result
Should not see any errors
Actual Result
Sentry error occurring