Skip to content

react-native plugin cannot parse stacktrace #825

Closed
@harshil07

Description

@harshil07

The stacktrace being sent to sentry has just [native code] in there.
Using an android device.

I throw an error in my code throw new Error('test');
and right before being sent to Raven library the exception looks like this on console.log.
{ [Error: test] line: 1042, column: 2539, sourceURL: 'index.android.bundle' }
On console.log right after TraceKit.computeStackTrace i see the following:

{ name: 'Error',
  message: 'test',
   url: '',
  stack: 
  [ { url: '[native code]',
     func: '?',
      args: [],
       line: null,
       column: null },
    { url: '[native code]',
        func: '?',
       args: [],
       line: null,
      column: null } ] }

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions