Skip to content

Conversation

@cipolleschi
Copy link
Contributor

Summary:

Summary

This diff resolves a crash in RCTExceptionManager by modifying error handling. It fixes the issue by checking if RCTJSExtraDataKey and RCTJSStackTraceKey are null or not in a dictionary initializer.

Also, RCTJSExtraDataKey is marked as nullable but its nullability is not checked.

Changelog:

[iOS][Fixed] - A Crash when some error information are nil

Differential Revision: D87140823

@meta-cla meta-cla bot added the CLA Signed This label is managed by the Facebook bot. Authors need to sign the CLA before a PR can be reviewed. label Nov 15, 2025
@meta-codesync
Copy link

meta-codesync bot commented Nov 15, 2025

@cipolleschi has exported this pull request. If you are a Meta employee, you can view the originating Diff in D87140823.

Summary:

# Summary

This diff resolves a crash in RCTExceptionManager by modifying error handling. It fixes the issue by checking if `RCTJSExtraDataKey` and `RCTJSStackTraceKey` are null or not in a dictionary initializer.

Also, `RCTJSExtraDataKey` is marked as nullable but its nullability is not checked.

## Changelog:
[iOS][Fixed] - A Crash when some error information are nil

Reviewed By: javache

Differential Revision: D87140823
@meta-codesync
Copy link

meta-codesync bot commented Nov 17, 2025

This pull request has been merged in efd2f67.

@facebook-github-bot facebook-github-bot added the Merged This PR has been merged. label Nov 17, 2025
@react-native-bot
Copy link
Collaborator

This pull request was successfully merged by @cipolleschi in efd2f67

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. meta-exported p: Facebook Partner: Facebook Partner

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants