Reputation: 44
How do you use Sentry? Sentry Saas (sentry.io)
Which SDK are you using? @sentry/nextjs
SDK Version 7.84.0
Framework Version "next": "12.1.5", Link to Sentry event https://aitrade.sentry.io/issues/4683896796/?project=4505955396812800&query=&referrer=project-issue-stream
SDK Setup import * as Sentry from '@sentry/nextjs' import SentryIgnoreList from './src/config/sentry/index' const SENTRY_DSN = process.env.NEXT_PUBLIC_SENTRY_DSN Sentry.init({ dsn: SENTRY_DSN, ignoreErrors: SentryIgnoreList, tracesSampleRate: 1.0, })
the error showed in sentry that crashed my server. it's from node_modules/@sentry/utils/cjs/instrument/console.js giving a write EPIPE error
Expected Result shouldn't give write EPIPE error
Actual Result EPIPE error and server crashed. only in production after CI/CD is done. then I vist site then it gives this error and crashed
Upvotes: 0
Views: 127
Reputation: 44
found out problem was our own code in next js. doing infinite render ig sentry crashed before that
Upvotes: -1