Skip to content

Sentry.captureException not WorkingΒ #17047

@VeronicaRG

Description

@VeronicaRG

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.39.0

Framework Version

next": "15.3.4"

Link to Sentry event

No response

Reproduction Example/SDK Setup

No response

Steps to Reproduce

after manual setup or wizard setup

I was trying to make a simply try by using <button onClick={() => Sentry.captureException(new Error('teste'))}>Test Sentry</button>

but it dosen't work on development server yarn dev just when you build yarn build and run production server yarn start

Expected Result

works on development server

Actual Result

just works when you build yarn build and run production server yarn start

Metadata

Metadata

Assignees

No one assigned

    Projects

    Status

    No status

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions