Skip to content

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

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?

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions