Skip to content

Error events are not recorded in Sentry dashboard #4221

@jenipharachel

Description

@jenipharachel

What React Native libraries do you use?

React Navigation

Are you using sentry.io or on-premise?

on-premise (Self-Hosted)

@sentry/react-native SDK Version

5.33.1

How does your development environment look like?

info
OS: MacOS
Node: v16.9.0
Yarn: 1.22.19
react: "17.0.2"
react-native: "0.67.2"
hermesEnabled: false
newArchEnabled: false

Sentry.init()

Sentry.init({
  dsn: "",
  // Set tracesSampleRate to 1.0 to capture 100% of transactions for performance monitoring.
  // We recommend adjusting this value in production.
  debug: true,
  tracesSampleRate: 1.0,
  release: release + '@' + VersionNumber.appVersion + '+' + VersionNumber.buildVersion,
})

Steps to Reproduce

  1. Built the app in iOS and android.
  2. Crashed the app with "throw new Error("My first Sentry error!");" or "Sentry.nativeCrash();"
  3. Crash occured but was not recorded in Sentry Dashboard. Production bugs are also not recorded in the Sentry Dashboard.

Expected Result

Crashes to be recorded in Sentry

Actual Result

Crash occured but was not recorded in Sentry Dashboard. Production bugs are also not recorded in the Sentry Dashboard.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels
    No fields configured for issues without a type.

    Projects

    Status

    Waiting for: Community

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions