Commit d967195
Fix crash in RCTExceptionManager (#54550)
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: D871408231 parent d52b9d2 commit d967195
File tree
1 file changed
+5
-2
lines changed- packages/react-native/React/CoreModules
1 file changed
+5
-2
lines changedLines changed: 5 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
77 | 77 | | |
78 | 78 | | |
79 | 79 | | |
80 | | - | |
81 | | - | |
| 80 | + | |
| 81 | + | |
| 82 | + | |
| 83 | + | |
| 84 | + | |
82 | 85 | | |
83 | 86 | | |
84 | 87 | | |
| |||
0 commit comments