Skip to content

Conversation

cipolleschi
Copy link
Contributor

Summary:
This fix makes sure that we convert to JSException only NSException thrwn by sync methods.
Currently, nothing in the stack will be capable of understanding that js error if it is triggered by an exception raised by an asyc method.

See reactwg/react-native-new-architecture#276 for further details

We need to cherry pick this in 0.78 and 0.79

Changelog:

[iOS][Fixed] - Make sure the TM infra does not crash on NSException when triggered by async method

Differential Revision: D71619229

@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 Mar 21, 2025
@facebook-github-bot
Copy link
Contributor

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

cipolleschi added a commit to cipolleschi/react-native that referenced this pull request Mar 21, 2025
…0193)

Summary:

This fix makes sure that we convert to JSException only NSException thrwn by sync methods.
Currently, nothing in the stack will be capable of understanding that js error if it is triggered by an exception raised by an asyc method.

See reactwg/react-native-new-architecture#276 for further details

We need to cherry pick this in 0.78 and 0.79

## Changelog:
[iOS][Fixed] - Make sure the TM infra does not crash on NSException when triggered by async method

Reviewed By: fabriziocucci

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

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

…0193)

Summary:

This fix makes sure that we convert to JSException only NSException thrwn by sync methods.
Currently, nothing in the stack will be capable of understanding that js error if it is triggered by an exception raised by an asyc method.

See reactwg/react-native-new-architecture#276 for further details

We need to cherry pick this in 0.78 and 0.79

## Changelog:
[iOS][Fixed] - Make sure the TM infra does not crash on NSException when triggered by async method

Reviewed By: fabriziocucci

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

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

@facebook-github-bot
Copy link
Contributor

This pull request has been merged in dfde51e.

@react-native-bot
Copy link
Collaborator

This pull request was successfully merged by @cipolleschi in dfde51e

When will my fix make it into a release? | How to file a pick request?

react-native-bot pushed a commit that referenced this pull request Mar 24, 2025
Summary:
Pull Request resolved: #50193

This fix makes sure that we convert to JSException only NSException thrwn by sync methods.
Currently, nothing in the stack will be capable of understanding that js error if it is triggered by an exception raised by an asyc method.

See reactwg/react-native-new-architecture#276 for further details

We need to cherry pick this in 0.78 and 0.79

## Changelog:
[iOS][Fixed] - Make sure the TM infra does not crash on NSException when triggered by async method

Reviewed By: fabriziocucci

Differential Revision: D71619229

fbshipit-source-id: b87aef5dd2720a2641c8da0904da651866370dc6
@react-native-bot
Copy link
Collaborator

This pull request was successfully merged by @cipolleschi in 9805a4f

When will my fix make it into a release? | How to file a pick request?

react-native-bot pushed a commit that referenced this pull request Mar 24, 2025
Summary:
Pull Request resolved: #50193

This fix makes sure that we convert to JSException only NSException thrwn by sync methods.
Currently, nothing in the stack will be capable of understanding that js error if it is triggered by an exception raised by an asyc method.

See reactwg/react-native-new-architecture#276 for further details

We need to cherry pick this in 0.78 and 0.79

## Changelog:
[iOS][Fixed] - Make sure the TM infra does not crash on NSException when triggered by async method

Reviewed By: fabriziocucci

Differential Revision: D71619229

fbshipit-source-id: b87aef5dd2720a2641c8da0904da651866370dc6
@react-native-bot
Copy link
Collaborator

This pull request was successfully merged by @cipolleschi in 1e9f118

When will my fix make it into a release? | How to file a pick request?

fabriziocucci pushed a commit that referenced this pull request Mar 24, 2025
Summary:
Pull Request resolved: #50193

This fix makes sure that we convert to JSException only NSException thrwn by sync methods.
Currently, nothing in the stack will be capable of understanding that js error if it is triggered by an exception raised by an asyc method.

See reactwg/react-native-new-architecture#276 for further details

We need to cherry pick this in 0.78 and 0.79

## Changelog:
[iOS][Fixed] - Make sure the TM infra does not crash on NSException when triggered by async method

Reviewed By: fabriziocucci

Differential Revision: D71619229

fbshipit-source-id: b87aef5dd2720a2641c8da0904da651866370dc6
@react-native-bot
Copy link
Collaborator

This pull request was successfully merged by @cipolleschi in 8eec35f

When will my fix make it into a release? | How to file a pick request?

cipolleschi added a commit that referenced this pull request Apr 1, 2025
Summary:
Pull Request resolved: #50193

This fix makes sure that we convert to JSException only NSException thrwn by sync methods.
Currently, nothing in the stack will be capable of understanding that js error if it is triggered by an exception raised by an asyc method.

See reactwg/react-native-new-architecture#276 for further details

We need to cherry pick this in 0.78 and 0.79

## Changelog:
[iOS][Fixed] - Make sure the TM infra does not crash on NSException when triggered by async method

Reviewed By: fabriziocucci

Differential Revision: D71619229

fbshipit-source-id: b87aef5dd2720a2641c8da0904da651866370dc6
@react-native-bot
Copy link
Collaborator

This pull request was successfully merged by @cipolleschi in ae1841a

When will my fix make it into a release? | How to file a pick request?

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 Merged This PR has been merged. p: Facebook Partner: Facebook Partner

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants