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

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants