Skip to content

Upgrading to 7.91.0 breaks applications using @sentry/next transaction.end is not a function #9981

Closed
@pckilgore

Description

@pckilgore

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

7.91.0

Framework Version

13.3.4

Link to Sentry event

No response

SDK Setup

const config = {
  dsn: process.env.NEXT_PUBLIC_SENTRY_DSN,
  release: process.env.NEXT_PUBLIC_SENTRY_RELEASE,
  environment: publicRuntimeConfig.sentryEnvironment,
};

Sentry.init(config);

Steps to Reproduce

Upgrade to 7.91.0 from 7.88.0

Expected Result

Application continues to work as it has.

Actual Result

Application crashes with transaction.end is not a function.

image

This occurred across all our routes, example above.

Reverting fixes.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Package: nextjsIssues related to the Sentry Nextjs SDK

    Type

    Projects

    Status

    Waiting for: Community

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions