You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
import*asSentryfrom"@sentry/node"import{nodeProfilingIntegration}from"@sentry/profiling-node"constisProduction=process.env.NODE_ENV==="production"constdsn=process.env.SENTRY_DSNSentry.init({environment: isProduction ? "prod" : "dev",enabled: isProduction,debug: false,dsn: dsn,integrations: [nodeProfilingIntegration(),Sentry.httpIntegration(),Sentry.prismaIntegration(),Sentry.fastifyIntegration(),],tracesSampleRate: 0.05,profilesSampleRate: 1.0,// This is relative to tracesSampleRateignoreErrors: ["User does not have permission","User is not a member of this workspace",/^No .* found$/,/BAD_REQUEST|TOO_MANY_REQUESTS|UNAUTHORIZED|FORBIDDEN|NOT_FOUND/,],})
Steps to Reproduce
I'm not sure how else to specify this. I installed the latest verison, and set it up as per the docs and I'm getting this spam.
Expected Result
The error messages are preserved.
Actual Result
I get DELETE,GET,HEAD,PATCH,POST,PUT,OPTIONS,PROPFIND,PROPPATCH,MKCOL,COPY,MOVE,LOCK,UNLOCK,TRACE,SEARCH /trpc/:path on almost every Sentry issue...
The text was updated successfully, but these errors were encountered:
First thing, since you're on v8 you can get rid of Sentry.httpIntegration() (it's enabled by default) and Sentry.fastifyIntegration() (not needed anmore for the Fastify setup).
Do you have any special errorFormatter logic in your trpc initialization?
Is there an existing issue for this?
How do you use Sentry?
Sentry Saas (sentry.io)
Which SDK are you using?
@sentry/node
SDK Version
8.34.0
Framework Version
No response
Link to Sentry event
https://permitflow.sentry.io/issues/5999574154/?environment=prod&project=4504595707396096&query=is%3Aunresolved%20issue.priority%3A%5Bhigh%2C%20medium%5D&referrer=issue-stream&statsPeriod=1h&stream_index=0
Reproduction Example/SDK Setup
Steps to Reproduce
I'm not sure how else to specify this. I installed the latest verison, and set it up as per the docs and I'm getting this spam.
Expected Result
The error messages are preserved.
Actual Result
I get
DELETE,GET,HEAD,PATCH,POST,PUT,OPTIONS,PROPFIND,PROPPATCH,MKCOL,COPY,MOVE,LOCK,UNLOCK,TRACE,SEARCH /trpc/:path
on almost every Sentry issue...The text was updated successfully, but these errors were encountered: