Skip to content

Undebuggable sentryWrapped error reported by SentryΒ #13966

@FezVrasta

Description

@FezVrasta

Is there an existing issue for this?

How do you use Sentry?

Sentry Saas (sentry.io)

Which SDK are you using?

@sentry/nextjs

SDK Version

8.33.1

Framework Version

Next.js 14.2.15

Link to Sentry event

https://betbucket.sentry.io/issues/5800639622/?project=4507752788656128&referrer=issue-stream&statsPeriod=14d&stream_index=0

Reproduction Example/SDK Setup

Sentry.init({
    environment: NEXT_PUBLIC_DEPLOYMENT_ENV,
    dsn: "xxxxxxx",

    // Adjust this value in production, or use tracesSampler for greater control
    tracesSampleRate: 1,

    // Setting this option to true will print useful information to the console while you're setting up Sentry.
    debug: false,
    replaysOnErrorSampleRate: 1.0,

    // 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,

    // You can remove this option if you're not planning to use the Sentry Session Replay feature:
    integrations: [
      Sentry.replayIntegration({
        // Additional Replay configuration goes in here, for example:
        maskAllText: false,
        blockAllMedia: false,
        networkDetailAllowUrls: [NEXT_PUBLIC_BASE_URL.toString()],
      }),
    ],

    ignoreErrors: [
      // Authentication errors are expected and handled by the frontend
      /Access denied! You need to be authenticated to perform this action!/,
      /Access denied! You don't have permission for this action!/,
    ],
  });

Steps to Reproduce

Can't really tell. I'm getting this "Method not found" error and the stack trace only shows a call to this sentryWrapped logic, there's no mention of my own code anywhere.

Image

Expected Result

I would expect Sentry to tell me what's causing this error so I can debug it.

Actual Result

No useful information is logged. It seems to happen only on Chrome Mobile but without additional information I can't do anything about it.

Metadata

Metadata

Assignees

No one assigned

    Labels

    BugPackage: nextjsIssues related to the Sentry Nextjs SDK

    Projects

    Status

    No status

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions