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

earlyjs: Integrate c++ pipeline with console.error #47169

Open
wants to merge 6 commits into
base: main
Choose a base branch
from

Conversation

RSNara
Copy link
Contributor

@RSNara RSNara commented Oct 22, 2024

Summary:

Changes

If the c++ pipeline is active:

If someone calls console.error:

  • The c++ pipeline will report it as a soft error

If someone reports an error:

  • The c++ pipeline will log it via console.error

Changelog: [Internal]

Differential Revision: D64506069

@facebook-github-bot facebook-github-bot added CLA Signed This label is managed by the Facebook bot. Authors need to sign the CLA before a PR can be reviewed. p: Facebook Partner: Facebook Partner labels Oct 22, 2024
@facebook-github-bot
Copy link
Contributor

This pull request was exported from Phabricator. Differential Revision: D64506069

@facebook-github-bot
Copy link
Contributor

This pull request was exported from Phabricator. Differential Revision: D64506069

@facebook-github-bot
Copy link
Contributor

This pull request was exported from Phabricator. Differential Revision: D64506069

RSNara added a commit to RSNara/react-native that referenced this pull request Oct 25, 2024
Summary:

## Changes
If the c++ pipeline is active:

If someone calls console.error:
- The c++ pipeline will report it as a soft error

If someone reports an error:
- The c++ pipeline will log it via console.error


Changelog: [Internal]

Differential Revision: D64506069
@facebook-github-bot
Copy link
Contributor

This pull request was exported from Phabricator. Differential Revision: D64506069

RSNara added a commit to RSNara/react-native that referenced this pull request Oct 25, 2024
Summary:

## Changes
If the c++ pipeline is active:

If someone calls console.error:
- The c++ pipeline will report it as a soft error

If someone reports an error:
- The c++ pipeline will log it via console.error


Changelog: [Internal]

Differential Revision: D64506069
@facebook-github-bot
Copy link
Contributor

This pull request was exported from Phabricator. Differential Revision: D64506069

Summary:
Now, handleError can be called with a JSError that wraps a non-error object!

Changelog: [Internal]

Reviewed By: javache

Differential Revision: D64706198
…peline (facebook#47165)

Summary:

The c++ pipeline needs a javascript interface.

We could just re-use exceptions manager (for now).

Changelog: [Internal]

Reviewed By: javache

Differential Revision: D64779068
Summary:
This method wasn't used from javascript.

Changelog: [Internal]

Reviewed By: javache

Differential Revision: D64607415
Summary:
I couldn't find any usages of this method in javascript.

Removing, so that the native code is easier to read.

Changelog: [Internal]

Reviewed By: javache

Differential Revision: D64606928
Summary:
Now, all ios apps will just be integrated with the c++ error reporting pipeline, with zero configuration.

Changelog: [Internal]

Reviewed By: philIip

Differential Revision: D64615457
Summary:
## Changes
If the c++ pipeline is active:

If someone calls console.error:
- The c++ pipeline will report it as a soft error

If someone reports an error:
- The c++ pipeline will log it via console.error


Changelog: [Internal]

Differential Revision: D64506069
@facebook-github-bot
Copy link
Contributor

This pull request was exported from Phabricator. Differential Revision: D64506069

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
CLA Signed This label is managed by the Facebook bot. Authors need to sign the CLA before a PR can be reviewed. fb-exported p: Facebook Partner: Facebook Partner
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants