Skip to content

Unhandled errors are captured as handled errors (@sentry/node) #5375

Closed
@raulbrennersc

Description

@raulbrennersc

Is there an existing issue for this?

How do you use Sentry?

Sentry Saas (sentry.io)

Which package are you using?

@sentry/node

SDK Version

7.3.1

Framework Version

7.3.1

Link to Sentry event

No response

Steps to Reproduce

  1. Application throws an error
  2. The error is not handled by the application
  3. The error is captured by sentry

Expected Result

The error is captured as unhandled (handled = false)

image

Actual Result

The error is captured but is marked as handled (handled = true).

image

What is setting the handled flag as true?

Metadata

Metadata

Assignees

No one assigned

    Labels

    Package: nodeIssues related to the Sentry Node SDK

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions