Skip to content

Capturing First Error #5614

@sutaungmai

Description

@sutaungmai

What React Native libraries do you use?

React Native without Frameworks

Are you using sentry.io or on-premise?

sentry.io (SaS)

@sentry/react-native SDK Version

7.11.0

How does your development environment look like?

Sentry Logger [log]: Integration installed: ReactNativeProfiler
Sentry Logger [warn]: AppRegistryIntegration.onRunApplication not found or invalid.
Sentry Logger [log]: Integration installed: TouchEventBoundary
Sentry Logger [log]: [AppStart] Captured end frames for app start. null
Sentry Logger [log]: Captured error event `custom error 2`
Sentry Logger [log]: Captured error event `custom error 2`

Sentry.init()

Sentry.init({
  dsn: 'https://...@sentry.io/...'
  // Adds more context data to events (IP address, cookies, user, etc.)
  // For more information, visit: https://docs.sentry.io/platforms/react-native/data-management/data-collected/
  sendDefaultPii: true,
  debug: true,
  // Enable Logs
  enableLogs: true,
  environment: "development"
});

Steps to Reproduce

  1. Start on android with npm run start --reset-cache

Expected Result

Should capture the error in the issue dashboard

Actual Result

Could not capture any error

Metadata

Metadata

Assignees

Projects

Status

No status

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions