Skip to content

9.7.0 causes instability in instrumentation.ts #15759

Closed
@samuelcole

Description

@samuelcole

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

9.7.0

Framework Version

Next 15.2.3

Link to Sentry event

No response

Reproduction Example/SDK Setup

No response

Steps to Reproduce

Upgrade from 9.6.1 to 9.7.0

Expected Result

The server boots on Vercel.

Actual Result

Uncaught Exception: TypeError: Cannot create proxy with a non-object as target or handler
    at <unknown> (.next/server/instrumentation.js:4:14174)
    at Server.<anonymous> (.next/server/instrumentation.js:4:14527)
    at <unknown> (.next/server/instrumentation.js:18:49180)
    at <unknown> (.next/server/instrumentation.js:20:108840)
    at t.with (.next/server/instrumentation.js:4:125593)
    at t.with (.next/server/instrumentation.js:20:110530)
    at e.with (.next/server/instrumentation.js:20:144801)
    at Object.withSetIsolationScope (.next/server/instrumentation.js:20:108819)
    at t.withIsolationScope (.next/server/instrumentation.js:23:7570)
Node.js process exited with exit status: 129. The logs above can help with debugging the issue.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Package: nextjsIssues related to the Sentry Nextjs SDK

    Type

    Projects

    Status

    No status

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions