mirror of
https://github.com/stack-auth/stack.git
synced 2026-06-13 21:01:21 +08:00
21 lines
766 B
TypeScript
21 lines
766 B
TypeScript
export const sentryBaseConfig = {
|
|
ignoreErrors: [
|
|
// React throws these errors when used with some browser extensions (eg. Google Translate)
|
|
"NotFoundError: Failed to execute 'removeChild' on 'Node': The node to be removed is not a child of this node.",
|
|
"NotFoundError: Failed to execute 'insertBefore' on 'Node': The node before which the new node is to be inserted is not a child of this node.",
|
|
],
|
|
|
|
normalizeDepth: 5,
|
|
maxValueLength: 5000,
|
|
|
|
// Adjust this value in production, or use tracesSampler for greater control
|
|
tracesSampleRate: 1.0,
|
|
|
|
// Setting this option to true will print useful information to the console while you're setting up Sentry.
|
|
debug: false,
|
|
|
|
replaysOnErrorSampleRate: 1.0,
|
|
|
|
replaysSessionSampleRate: 1.0,
|
|
};
|