mirror of
https://github.com/facebook/react-native.git
synced 2025-11-01 09:14:26 +00:00
Summary: WHen porting TurboModules or adding new TurboModules, ReactModuleSpecProcessor may fail during buck build, and when the failure is caused by typeElement.getAnnotation, no useful information gets collected, making it difficult to debug. So here I am adding a try & catch so we can get useful debugging info. Changelog: [Internal] Reviewed By: RSNara Differential Revision: D35767207 fbshipit-source-id: 7e1f9dfbfd31339ab37af19c51d85085e100955a