We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 690c555 commit 977c84aCopy full SHA for 977c84a
lib/sentry.ts
@@ -31,15 +31,8 @@ export const init = ({ build, paths }: InitOptions) => {
31
32
Sentry.init({
33
dsn: 'https://5e47d6b6bdb5f3b9979a59d9f01c5fca@o171991.ingest.us.sentry.io/1250935',
34
+ ignoreErrors: ['React is running in production mode', ':17027'],
35
beforeSend(event) {
- if (
36
- some(['React is running in production mode', ':17027'], (messageToIgnore) =>
37
- get(event, 'exception.mechanism.data.message')?.includes(messageToIgnore),
38
- )
39
- ) {
40
- return null
41
- }
42
-
43
each(get(event, 'exception.values'), (value) => {
44
each(get(value, 'stacktrace.frames'), (frame) => {
45
if (frame.filename) {
0 commit comments