Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

CaptureException - Object captured as exception with keys: extensions, message #3808

Closed
5 of 11 tasks
saqibaligorilla opened this issue May 9, 2024 · 1 comment
Closed
5 of 11 tasks

Comments

@saqibaligorilla
Copy link

OS:

  • Windows
  • MacOS
  • Linux

Platform:

  • iOS
  • Android

SDK:

  • @sentry/react-native (>= 1.0.0)
  • react-native-sentry (<= 0.43.2)

SDK version: ~5.12.0

react-native version: 0.73.7

Are you using Expo?

  • Yes
  • No

Are you using sentry.io or on-premise?

  • sentry.io (SaaS)
  • on-premise

If you are using sentry.io, please post a link to your issue so we can take a look:

[Link to issue]

Configuration:

(@sentry/react-native)

 Sentry.init({
      dsn: 'dns',
      tracesSampleRate: 0.6,
      _experiments: {
        profilesSampleRate: 1.0,
      },
      attachViewHierarchy: true,
      attachScreenshot: true,
      beforeBreadcrumb(breadcrumb) {
        return breadcrumb.category === 'ui.click' ? null : breadcrumb;
      },
      integrations: [
        new Sentry.ReactNativeTracing({
          tracingOrigins: ['*', /^\//],
          enableAppStartTracking: true,
          ignoreEmptyBackNavigationTransactions: true,
          routingInstrumentation,
        }),
      ],
    });

I have the following issue:

  • captureException
    Object captured as exception with keys: extensions, message
@krystofwoldrich
Copy link
Member

Hi @saqibaligorilla,
thank you for the message,
this happens when the object provided in captureException(myObject) or uncaught throw myObject is not an instance of an JS Error.

Could you share a bit more details about what kind of object causes the behaviour and what is the expected behaviour?

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

No branches or pull requests

2 participants