Skip to content
This repository was archived by the owner on Dec 6, 2023. It is now read-only.
This repository was archived by the owner on Dec 6, 2023. It is now read-only.

reportError not working on React Native 0.63 #600

@jimmyltsinn

Description

@jimmyltsinn

Seems like React Native 0.63 changed the type of parameter of symbolicateStackTrace:

facebook/react-native@fa4f23e

Since there is a catch at the end of reportError with nothing printed, the reportError failed silently.

To support React Native 0.63, the following line

let stack = goodStack.map(stackFrame => ({

should be updated to

          let stack = goodStack.stack.map(stackFrame => ({

But since this could break support in old React Native version, here just noted the issue instead of creating a PR.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions